Hi,
When adding a new node, tree.Nodes.Add(null, "my node")
can I make this node a button or add a button to it ?
the node is read only, so I only need a clickable button.
thanks.
Hello,
In order to research the best solution for you can you please specify what ViewStyle your UltraTree is set to.
Waiting for your feedback
it is set to grid, thanks
Hello Abraham,
Thank you for contacting Infragistics Support.
In order to add a button to your UltraTree nodes you may set the tree editor property to EditorWithText. You need to add left or right button to the EditorWithText. While you need the nodes to be read-only and the button to be clickable you will need to override the TextBox getter of the EditorWithText and to set it as read-only.
Please find a sample solution implementing this approach.
Please let me know if this is what you are looking for or if I am missing something.
thank you for the sample milko.
the sample isn't working as it should.
when I click the button nothing happens, it seems it cannot be clicked.
I am using version 12.1.
thanks
I am just checking about the progress of this issue. Let me know if you need my further assistance on it.
Thank you for using Infragistics Components.