View Full Version : Two grids in the same page

25 Sep 2006, 9:12 AM

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.

25 Sep 2006, 1: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.


28 Sep 2006, 9:46 AM
Thanks, it's working now. Your grid extension is awesome. :D And the new pagination system looks great too.

28 Sep 2006, 10:00 AM
Thanks. That's always nice to hear. ;)