multi-select with scroll=true

Questionsmulti-select with scroll=true
Michiel Blotwijk asked 5 years ago

Hello Abu,

I have a grid with more than 10k rows, so I use scroll=true. When i filter for some value and then click on “select all”, it only selects the visible records. Is there a way to select also the hidden records?

The only work around I found is to first scroll all the way down so all records are loaded and then select them. This is not something I can ask from my users.

regards,

Michiel

1 Answers
Abu Ghufran Staff answered 5 years ago

A workaround could be to increase page size: e.g. 500

$opt[“rowNum”] = 500;

$g->set_options($opt);

So now it will load new rows in a group of 500 when scrolled down. Most likely your filtered rows are less than this number. And if not you can further increase it.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

7 + 7 =

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?