Is it possible to show three diffrerent phpgrid pages in tabs of a page?
Please refer master-detail/multiple-grids.php in which multiple grids are shown on a page.
Then you can put any div based tab lib and put them accordingly.
I try to learn whether is it possible to load three different phpgrid pages in tabs of another page ? e.g.include("phpgrid1.php"),include("phpgrid2.php"),include("phpgrid3.php") Can we put them any div based tab lib and put them accordingly?
Why I am asking because , I already define and columns in phpgrid.php pages therefore I do not want to define and add columns again in new page.
Thanks and regards…
Yes this is doable. You need to remove the HTML part (css/js) from each file, and put them in main (tabbed) html file one time.
Replace $out = $grid->render(); to $out1, $out2, $out3 in each file respectively.
and then in div elements of main html, echo these vars.
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!