Question

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.

requirement:

I have 3 dropdownlists,binding with 3 services,now I want to filter the grid data-source based on dropdownlist selected value.

Was it helpful?

Solution

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() }
                ]);
            }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top