|
Title: number of rows in datagrid Post by: wymak on January 21, 2013, 07:43:37 AM Hi expert;
The easyui document mentioned that the 'data' property of the datagrid is an array object, however, I cannot get the size of this data array by issuing: var arr = $('#dg').datagrid('options').data; alert(arr.length); How can I achieve the goal? thx Title: Re: number of rows in datagrid Post by: mzeddd on January 21, 2013, 01:02:17 PM This should work
Code: var arr = $('#dg').datagrid('getRows'); |