searchObject
Configures the Kendo UI TreeList search bar settings.
Example
<div id="treelist"></div>
<script>
$("#treelist").kendoTreeList({
columns: [
{ field: "Name" },
{ field: "Position" }
],
dataSource: [
{ id: 1, Name: "Daryl Sweeney", Position: "CEO", parentId: null },
{ id: 2, Name: "Guy Wooten", Position: "Chief Technical Officer", parentId: 1 }
],
toolbar: ["search"],
search: {
fields: ["Name", "Position"]
}
});
</script>
In this article