subgrid open with multiple buttons

Questionssubgrid open with multiple buttons
Anthony Kam asked 1 month ago

For the subgrid, is it possible to have 2 buttons in the row action column, that’ll open the same subgrid file, but with different search criterias.
Example: The ui would look like this: https://www.gridphp.com/demo/demos/appearance/custom-row-button.php, with 2 buttons. Button 1 would be “See free books”. Button 2 says “See not free books”. The button would pass a parameter to the subquery that will create the sql where criteria appropriately.
Please advise how to do this, if it’s possible.

1 Answers
Abu Ghufran Staff answered 2 weeks ago

Hello,

I tried to make some workaround for your solution (which took time to reply) but currently it’s not doable easily. Some major changes and testing will be required.

Apologies for the delay.

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

12 + 16 =

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?