Get row count of jQuery Grid

Get jqGrid total row count
[code]
<script>

var rowCount = $("#gridName").getGridParam("reccount");
alert(rowCount);

</script>
[/code]
For older versions of jqGrid this should work
[code]
<script>

var rowCount = jQuery("#gridName").jqGrid('getGridParam', 'records');
alert(rowCount);

</script>
[/code]

Get Free Email Updates!

Signup now and receive free offers, discounts & coupon codes

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge