row limit

Questionsrow limit
Ronald asked 10 years ago

Hi!

I have a table with 10.000 records. I want to show ALL records, without paging. My code:

$grid ["rowNum"] = 10000;
$grid["rowList"] = array();
$grid["pgbuttons"] = false;
$grid["pgtext"] = null;

Grid show "loading" and after some time crash my browser. Is there any record limit for phpgrid?

Thanks!!

1 Answers
Abu Ghufran answered 10 years ago

Only set:

$grid["scroll"] = true;

It make paging onscroll event, and load only what is required minimizing browser's memory.

Siupo Lam replied 7 years ago

Hi,

I faced the same issue, but if I add $grid[“scroll”] = true, previous/next page buttons will be hidden. Thanks to advise!

Your Answer

10 + 9 =

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?