3.2.0

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
August 19,

This topic is archived.

See also:


Back to support forum