Available in the Full Version

Tree Grid > Row Selectors

Configure TreeGrid's RowSelectors feature

Selecting settings

Row Selectors settings

Row Selectors Checkbox settings

This sample is designed for a larger screen size.


On mobile, try rotating your screen, view full size, or email to another device.

This sample demonstrates how to configure row selectors in igTreeGrid. The editors below the grid configure different options of the feature. The rowSelectorNumberingMode option controls the format of the row numbering. If it's set to "hierarchical" the number will be a concatenation of the parent and child indexes. The other possible value for this option is "sequential" which will define row numbering format to be the index of the visible row. Tri state checkboxes should be used with single selection only. In "triState" mode there is a clear distinction between selected row and the state of the corresponding checkbox. When in "triState" checkBoxMode selecting a row is not going to check the corresponding checkbox and vice versa, clicking selector checkbox is not going to apply selection to the row. The other possible value for this option is "biState". When biState is enabled selecting a row will not affect its parent row.

Code View

Copy to Clipboard