Available in the Full Version
Tree Grid > Row Selectors
This sample uses CTP (Community Technical Preview) features. The API and behavior may change when these features are released with full support.
Configure TreeGrid's RowSelectors feature
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.