View Full Version : Two grids in the same page
Hi,
The grid extension was planned to do that? I'm asking because looks like the second grid override the first grid. Then, when i try to sort the firt grid the second is sorted.
jack.slocum
09-25-2006, 05:13 PM
Two grids on the same page should be fine.
I update CSS rules for each column. If you have two grids on the same page, you can't use the default placeholder rules. You will have to setup up CSS columns for each column since the both can't share the same generic CSS def.
#grid-container-id .ygrid-col-0{}
#grid-container-id .ygrid-col-1{}
#grid-container-id .ygrid-col-2{}
#grid-container-id2 .ygrid-col-0{}
#grid-container-id2 .ygrid-col-1{}
#grid-container-id2 .ygrid-col-2{}
They can be blank if you don't need formatting but for multiple grids on the same page these must be created and their selector's can't be combined.
If that doesn't fix it let me know.
Jack
Thanks, it's working now. Your grid extension is awesome. :D And the new pagination system looks great too.
jack.slocum
09-28-2006, 02:00 PM
Thanks. That's always nice to hear. ;)
Jack
vBulletin® v3.6.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.