columns.includeChildren Boolean
(default: false)
If set to true
, the TreeList will select all child rows upon parent row selection when checkbox selection is used.
Example
<div id="treelist"></div>
<script>
$("#treelist").kendoTreeList({
columns: [
{ selectable: true, includeChildren: true },
{ field: "id", width: 250},
{ field: "name", width: 250 },
{ field: "age", width: 250}
],
dataSource: [
{ id: 1, parentId: null, name: "Jane Doe", age: 31, city: "Boston" },
{ id: 2, parentId: 1, name: "John Doe", age: 55, city: "New York" }
]
});
</script>