在 KendoJqueryTreelist 中,当使用 Contains 过滤数据时,不显示重复记录
在 KendoJqueryTreelist 中,当使用包含过滤数据时,不显示重复记录,但我需要在 kendo jquery 树列表中显示包含(包括重复记录)的所有记录。按姓氏过滤
"<script>
$("#treeList1").kendoTreeList({
columns: [
"lastName",
"position"
],
filterable: true,
dataSource: {
data: [
{ id: 1, parentId: null, lastName: "Jackson", position: "CEO" },
{ id: 2, parentId: 1, lastName: "Weber", position: " VP, Engineering" },
{ id: 1, parentId: null, lastName: "Jackson", position: "CEO" },
{ id: 4, parentId: 1, lastName: "Weber", position: " VP, Engineering" }
]
}
});
</script>"