getRowData return incorrect size of array

QuestionsgetRowData return incorrect size of array
Javier asked 3 years ago

Hi. I have getRowData return incorrect size of array

var rows= jQuery(“#lstCertificacion”).jqGrid(‘getRowData’);

cant=rows.length;

cant contains the correct value, but when I get to 20 rows, it is always 20. No matter how many rows I add, it always returns 20.

 

1 Answers
Abu Ghufran Staff answered 3 years ago

Hello,

Try this:

$("#lstCertificacion").getGridParam("records")

Source: https://stackoverflow.com/a/2588420/385377

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff replied 3 years ago

Updated the reply. Please check on web.

Your Answer

14 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?