Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1560
Tree readonly
posted

I want to make my tree disabled but still scrollable

 

I want the same thing with the TextEditor. Want to make it disabled but the user can still select the text, I thought the ReadOnly property was for that purpose, but it acts like the Enable property .....

Parents
  • 69832
    Suggested Answer
    Offline posted

    You can set the Enabled property of every node in the tree to false, which would disable the nodes while still allowing the scrollbars to be used. This will disable editing and text selection, so I am wondering, in light of the second part of your question, if what you really want is to simply disallow editing the node text. If this is the case, assign an UltraTextEditor to the UltraTree.Override.EditorControl property, and set the ReadOnly property of that UltraTextEditor to true; this will cause the nodes to pick up that setting.

     

Reply Children