PDA

View Full Version : Multiple Grids -> strange column-resize behavoir



leh
5 Dec 2006, 9:02 AM
Hi,

first of all let me say that your work is great!

I think I ran into a bug when I use multiple grids on one page:
If I resize one column in Grid A the according column in Grid B is also resized. Is that expected behavoir?

greetings
leh

Animal
5 Dec 2006, 9:04 AM
Covered scores of times. Search "multiple grids"

leh
5 Dec 2006, 9:12 AM
Would you mind to provide a link to one of those threads or make it sticky?

I searched for half an hour bevor I filed the bug and all I could find were vague references that somewhere in this forum is the solution to this problem :-)

greetings
leh

tryanDLS
5 Dec 2006, 9:35 AM
Well after much less than half hour searching, I found this: :)

http://www.yui-ext.com/forum/viewtopic.php?t=346

which has a link to another topic on this also

EDIT: And this, which is Sticky in the Help forum

http://www.yui-ext.com/forum/viewtopic.php?t=650

leh
5 Dec 2006, 9:51 AM
Thx alot,

maybe I should think about wearing glasses :-)

greetings
leh

jbowman
5 Dec 2006, 11:35 AM
nah, this just shows we really need to get a faq going

ojintoad
5 Dec 2006, 12:29 PM
It looks like you only need to add the CSS entries #gridId .ygrid-col-# for N-1 grids and only for up to the number of columns that the grids share. So if I have Grid A with 5 columns and Grid B with 7 columns, I'd only need to add:



#A .ygrid-col-0{
}
#A .ygrid-col-1{
}
(...)
#A .ygrid-col-4{
}


Tested FF1.5, IE6

HTH