海
I am working on Kendo UI,can anyone provide the solution how to update Kendo grid datasource based on cascading drop-down list selected value.In Kendo demos I found cascading dropdownlists examples.
要求:
I have 3 dropdownlists,binding with 3 services,now I want to filter the grid data-source
基于下拉列表选择的值。
答案 0 :(得分:3)
Hai,
In onchange event of thrid dropdownlist,you need to filter the grid datasource based on codition
Change:filterGrid
and a create function:
function filterGrid() {
dataSource.filter([
{ field: "orders", operator: "equals", value: $("#OrderID").val() }
]);
}