TreeView checkboxes in Indeterminate state for last children

1 Answer 136 Views
Checkbox TreeView
Jacek
Top achievements
Rank 1
Jacek asked on 25 Oct 2022, 08:21 AM

I have a case where I need to be able to set last children in indeterminate state.
Yes, the indeterminate checkbox state for the node that has no children.

Is it possible without any special hacks?

I don't want to create my own checkboxes in templates, as I still need selecting parent.

I'm already trying to do this with reflections and getting to ProcessedData (with some successes), but I'd prefer to use native functionality.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 27 Oct 2022, 11:10 AM

Hello Jacek,

The indeterminate state can only be set by the TreeView itself, based on the state of child items' checkboxes. From this point of view, there is no built-in way to set indeterminate state manually. It seems that your scenario is even more special, as the desired checkboxes (items) have no children. So the possible options are templates or source code overrides.

Regards,
Dimo
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Checkbox TreeView
Asked by
Jacek
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or