:: Forum >>

Columnresize on two grids synchronus

Hi, this is my problem. I habe two grids with the same number of columns. If i change the width of one column on the first grid i want that the width of the same column on the second grid changes too. I found the following code in this forum and its works. But in somen cases when i resize a column on the first grid to a very high width, the column on the second grid does not react.

What could be the problem?

var stylesheet = document.styleSheets[document.styleSheets.length-1];
stylesheet.addRule('#grid2 .active-column-'+iCol , 'width:'+width+'px');
obj.getTemplate('layout').action('adjustSize');

Nick
Friday, August 19, 2005

This topic is archived.


Back to support forum

Forum search