Reputation: 19
I need to utilize the functionality of kendo treeView's kendoTreeViewCheckable for every node in KendoTreeList.
Is there any option to do or is there any way to use KendoTreeView inside Kendo Grid Table like KendoTreeList?
Upvotes: 0
Views: 51
Reputation: 24738
Have a look at https://docs.telerik.com/kendo-ui/api/javascript/ui/treelist/configuration/columns.selectable
e.g.
$("#treelist").kendoTreeList({
columns: [
{ selectable: true, width: 65 },
{ 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" }
]
});
This adds a checkbox column to every node.
Upvotes: 0