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
370
UltraTree OutlookExpress style with unbound checkbox column: how to use space bar to tick?
posted

Dear all,

I have a UltraTree (v16.1) with a unbound Checkboxcolumn. All columns except the checkbox column are readonly, and the tree is drawn by code (no databinding).I'd like to  use the space bar to tick/untick the checkbox of the active node. My current settings require hitting F2, then space to check or uncheck. How can I avoid the additional F2?

Thanks for any hint.

Kind regards

Martin

Parents
No Data
Reply
  • 7555
    Offline posted

    Hello MS,


    Thank you for posting. By pressing F2 you are putting node into edit mode so basically, if you use CellClickAction property and set it to ‘EditCell’ then it will do the same thing . You can refer to this doc  for more information.


    this.ultraTree1.Override.CellClickAction = CellClickAction.EditCell;

    Sincerely,
    Divya Jain

Children