Dropdown outside grid

QuestionsDropdown outside grid
Santosh Pillai asked 2 years ago

How do I implement a dropdown outside the grid, similar to your demo where you are selecting the theme
I am looking to change a variable in my sql query depending on the dropdown and reload the grid with this new query

1 Answers
Abu Ghufran Staff answered 2 years ago

You can refer demos/editing/db-table-grid.php
The important point is to use session to persist post value and then use session variable in sql query.
Refer this faq:http://www.phpgrid.org/faqs/#20

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Santosh replied 2 years ago

Since I am using the same page how does the grid get re-loaded with value from the session variable?

Your Answer

15 + 11 =

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?