Sathasivam
Sathasivam

Reputation: 19

KendoTreeView inside Kendo Grid Table

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?

suggest checkable functionality of every node like below or how to render this KendoTreeView inside KendoGrid Table

Upvotes: 0

Views: 51

Answers (1)

ezanker
ezanker

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

Related Questions