Title: [SOLVED] Get all datagrid rows Post by: Pierre on October 20, 2016, 06:59:21 AM Hello
I'm using scrollView with pagesize:50 and I need to get all datagrid rows, not only rows on current page. I try to use this code: Code: var nodesArray = new Array(); but it works only if datagrid have less then 50 records. How to get all records? Thank you. Title: Re: Get all datagrid rows Post by: stworthy on October 20, 2016, 08:20:17 PM If you load data from remote server page by page, you have to get all rows from the server. If you load all the rows at once, you can retrieve these rows by this way:
Code: var data = $('#dg').datagrid('getData'); Title: Re: Get all datagrid rows Post by: Pierre on October 21, 2016, 12:11:14 AM Thank you, it works perfect.
|