Hi guys,
I'm having an issue with a server paged data source, where if the length of the result set changes the data source is not updated with the change. For example:
$("#grid").kendoGrid({
dataSource: {
type: "json",
serverPaging: true,
pageSize: 100,
transport: {
read: {
url: "/Req/Azure",
dataType: "jsonp",
data: {
sid: sid,
q: query
}
}
},
schema: {
data: "data",
total: "total"
}
},
height: h,
width: "auto",
scrollable: {virtual: true},
selectable: "row"
});
If on the first request of the data source (page=1, skip=0, take=100) the total is 200 and on the second request (page=2, skip=100, take=100) the total is 202, the data source never makes a third request as it has reached the initial 200 records.
Any ideas how i can work around this issue?
Tony
I'm having an issue with a server paged data source, where if the length of the result set changes the data source is not updated with the change. For example:
$("#grid").kendoGrid({
dataSource: {
type: "json",
serverPaging: true,
pageSize: 100,
transport: {
read: {
url: "/Req/Azure",
dataType: "jsonp",
data: {
sid: sid,
q: query
}
}
},
schema: {
data: "data",
total: "total"
}
},
height: h,
width: "auto",
scrollable: {virtual: true},
selectable: "row"
});
If on the first request of the data source (page=1, skip=0, take=100) the total is 200 and on the second request (page=2, skip=100, take=100) the total is 202, the data source never makes a third request as it has reached the initial 200 records.
Any ideas how i can work around this issue?
Tony