I modified the “Detail Grid” which can be found here:
To use this example with a couple of Java actions instead of the RSS feed. However, I'm having problems filtering the detail data because of the fact that I’m omitting the type: "odata" in my HTML.
So, the original Employees data source looked like this:
The original Orders data source looked like this:
The modified Employees data source looks like this:
The modified Orders data source looks like this:
You’ll notice that I had to make the change to: dataType: "json", in order for this example to work.
Also, if you look inside “kendo.all.js”, you’ll notice that “filter: { }” will only work with “odata”.
Now, any ideas how I can get my sample to work with filtering?
To use this example with a couple of Java actions instead of the RSS feed. However, I'm having problems filtering the detail data because of the fact that I’m omitting the type: "odata" in my HTML.
So, the original Employees data source looked like this:
dataSource: { type: "odata", transport: { }, pageSize: 5, serverPaging: true, serverSorting: true},The original Orders data source looked like this:
dataSource: { type: "odata", transport: { }, serverPaging: true, serverSorting: true, serverFiltering: true, pageSize:6, filter: { field: "EmployeeID", operator: "eq", value: e.data.EmployeeID }},The modified Employees data source looks like this:
dataSource: { transport: { read: { url: "/site/GetEmployee.action", dataType: "json", }, }, pageSize: 5, serverPaging: true, serverSorting: true},The modified Orders data source looks like this:
dataSource: { transport: { read: { url: "/site/GetOrders.action", dataType: "json", }, }, serverPaging: true, serverSorting: true, serverFiltering: true, pageSize:6, filter: { field: "EmployeeID", operator: "eq", value: e.data.EmployeeID }},You’ll notice that I had to make the change to: dataType: "json", in order for this example to work.
Also, if you look inside “kendo.all.js”, you’ll notice that “filter: { }” will only work with “odata”.
Now, any ideas how I can get my sample to work with filtering?