Updating Items Directly

The TreeView enables you to update the checked and checkIndeterminate fields of its items directly.

To update checked and checkIndeterminate directly, handle the onCheckChange event.

Normally, this approach does not support parent- and child-item checking, or the application of an indeterminate state to items. To implement these features, you have to manually iterate over the TreeView items. For more information, refer to the article about updating TreeView items through helper functions.

View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?