There is a select menu on my page, when user select an option we run a query $g->select_command = “select * from table;, can i use multiple query and do this with ajax?
In other words,I want to load different grids in the same page.
Yes, this is doable and should work … $.ajax(…).success(…)
One thing to consider, if you are using set_columns() then they should also be changed for each grid (conditionally). If you are not, columns will auto-set by passed sql query.
Demo/appearance/db-table-grid.php example do something similar but without ajax.
Abu Ghufran - Dev Team
PHP Grid Framework
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!