I am using a dataTreeNode objcet for a hierarchy of nodes on a web page. The entire div on the web page however is unelectable.
How can I make the entire object selectable? (.Selected = True doesn't work either)
Hello Matthew,
I am glad to hear that the suggestions were helpful, and you were able to achieve your requirement.
Thank you for using Infragistics components.
Regards, Aleksandar Atanasov,
Infragistics.
Thanks a lot it worked!
I’m glad that my suggestions were helpful. Additionally, regarding your last question, setting a new text value of the node when the user selects it can be achieved once again by binding a function to the NodeClick or SelectionChanged events. In this function, the set_text method could be used:
ui.get_selectedNodes()[0].set_text("new text value")
Please test it on your side and let me know if you need any further information regarding this matter.
Just figured out how to copy the text. Thanks for the Help!One final question, is it possible to change the text of the node from javascript so that when the user clicks the node, the text changes.
Thanks!
The problem is that I am not able to select the node. Hence is it possible to use these clientevent to copy text to clipboard when clicking the node?