Upgrade Guide - version 0.6.x to 1.0.x
Please follow the instructions in order to fix the issues caused by the upgrade from version 0.6.x to version 1.0.x.
Grid
-
1. We added includeAllRecords parameter to the getAll method and now you need to set this parameter to true if you want to get all records when you are using local dataSource.
version 0.6.x code
var grid = $('selector').grid({ dataSource: [.....], pager: { limit: 2 } }),
records = grid.getAll();
alert('Records = ' + records.length);
version 1.0.x code
var grid = $('selector').grid({ dataSource: [.....], pager: { limit: 2 } }),
records = grid.getAll(true);
alert('Records = ' + records.length);