Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
625
get allRows by disabling paging
posted

Hi,

I have tried to get all rows by disabling paging, something like this:

$("#igGrid1").igGridPaging('destroy');         //disable paging

 var rows = $("#igGrid1").igGrid('allRows'); //get all rows

$("#igGrid1").igGridPaging('option', 'type', 'local'); //enable paging back

$("#igGrid1").igGridPaging('option', 'pageSize', 20);

but it doesn't work. Please can you provide me with an example of how it should be done?