Problem: Grid contents after refresh
Context: Grid backed by a JSON remote service -- Python Django + Tastypie
Steps to Reproduce:
1. Setup your data feed such that based on the pageSize that the last page only contains one item.
2. Initialize your kendo grid
3. Delete the item on the last page.
4. Refresh the Kendo Grid
[code]
Context: Grid backed by a JSON remote service -- Python Django + Tastypie
Steps to Reproduce:
1. Setup your data feed such that based on the pageSize that the last page only contains one item.
2. Initialize your kendo grid
3. Delete the item on the last page.
4. Refresh the Kendo Grid
[code]
function refreshKendoGrid(gridId) {
var grid = $(gridId).data("kendoGrid");
//reload grid's datasource
grid.dataSource.read();
// refreshes the grid
grid.refresh();
}
[code]