how to implement tri-state checkboxes in tree list. which should be fully checked, or fully unchecked or partially checked.
Thanks.
1 Answer, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 25 Sep 2023, 12:43 PM
Hi Gul,
Currently there is no built-in functionality for a indeterminate state selection for the TreeList. It could be achieved with custom selection and custom tracking of the items' selected state, but at the moment we do not have an example which has complete implementation that we can share. Nevertheless, we have the following example, which could be used as a starting point, where a custom cell with indeterminate state checkbox is used:
However, please have in mind that it just demonstrate a possible approach that can be using custom checkbox.
Another example that might be useful is the following, where the child/parent nodes are selected dynamically (if a parent node is selected, all child nodes will be selected, etc.):