PDA

View Full Version : Grid bug



matveyka
1 Aug 2007, 12:09 AM
Hello,

I have found a bug when I am placing two grids on one HTML document. When I am resizing a column of one grid by mouse, the same column of second grid will resized as well, but without header. I have reviewed a source code and I have found a reason. When we change a size of grid column the "updateColumns" method of GridView object will be called. This method calls "setCSSWidth" method. And this method changes a width of all elements that have className="ygrid-col-" + columnIndex. So, if I am resizing second column of first grid, the second column of second grid will be resized as well, because it has "ygrid-col-2" class name as well.

Best regards,
Yury Kazakevich

mystix
1 Aug 2007, 12:19 AM
8887