Hi,
If I have multiple pages in the grid, my script gives the number of rows for the first page only.
Is there a way to count the number of rows in all the pages of the grid?
Thanks,
Sana
If I have multiple pages in the grid, my script gives the number of rows for the first page only.
Is there a way to count the number of rows in all the pages of the grid?
<script type="text/javascript"> |
function RowCount() |
{ |
var grid = $find("<%=RadGrid1.ClientID %>"); |
var MasterTable = grid.get_masterTableView(); |
var Rows = MasterTable.get_dataItems(); |
alert(Rows.length); |
} |
</script> |
Thanks,
Sana