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.
1 Answers
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.
Your Answer