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
115
Different Checkbox-Modes per Tree-Level/Binding
posted

Hi!

Is it possible to set only root level with checkboxes and child levels not showing checkboxes?

I only want to select the first level, all other children should not be possible to select/modify.

Childs should only have informative character.

It also helps if i could hide the checkboxes from subtrees.

  • 25665
    Suggested Answer
    Offline posted

    Hello Michael,

    Thank you for contacting Infragistics!

    Enabling checkboxes is done for the whole igTree, there isn’t a way to limit which levels display them. If you want you can hide the child level checkboxes using CSS by setting Display:none; on them. What jQuery selector you used to select those elements would depend on how you have your tree setup. You want your sector to only select children of your parent level nodes with the CSS class ui-igcheckbox-normal.

    Please let me know if you have any further questions concerning this matter.