c# - Selecting All records From Kendo Grid -
i'm using kendo grid in visual studio 2010 asp.net & c#. im new platform. have more 100 records in grid.. want select records in array.. using following code.. selects first page records. (pagesize: 5 )..
var entitygrid = $("#grdreport").data("kendogrid"); var d = entitygrid.datasource.data(); for(var = 0; i<d.length; i++) { var currentdataitem = d[i]; a.push(currentdataitem); } appnt = a;
appnt has 5 records.. please me in issue... in advance.. :-) happy..
you should use serveroperation of datasource sorce set false if using mvc wrappers.
if using regular javascript declaration should set serverpaging of datasource false.
Comments
Post a Comment