This topic is locked
[SOLVED]

How can I scroll a grid with a custom button?

11/16/2024 4:04:02 AM
PHPRunner General questions
J
Jan author

Hello, I have a datagrid that I want to scroll with two buttons: next record and previous record (touchscreen control),
Which php instruction should I use in the server event of a custom button?

Sergey Kornilov admin 11/16/2024

This is not scrolling, this is pagination. I assume you have a List page where you display a single record.

If this is the case, take a look at the built-in pagination in PHPRunner, see what kind links it generates and do the same in your buttons. Most likely you will need to use Javascript redirect, no PHP code will be required.

J
Jan author 11/18/2024

Thanks for this information