3.2.0

alignment problem when hiding columns and set different widths for different columns

There is a serious alignment problem going on between the header and the vertical grid lines, when the grid has hidden columns (using setColumnIndices) and if setColumnWidth is used to set different widths for different columns.

The problem show when scrolling the horizontal scroll bar to the right.

This is different from the problem reported before, which was solved with CSS padding-right:3px. So I did my homework and searched the forum before reporting this problem.

I am using version 2.5.5

Thanks.
-gil
February 3,
http://www.activewidgets.com/javascript.forum.26661.2/couple-of-bugs-column-resize.html
If that does not fix it, then try using
getColumnTemplate(y).setStyle('width', Array[y] + 'px') in a for loop or by each single column.
getColumnTemplate(0).setStyle('width', '100px')
February 4,
Should be obj.getCellTemplate(0).set....
February 4,
Thanks for the reply.

getCellTemplate().setStyle did not do it. However, adding a hidden dummy column at the end seems to have fixed it.
-gil
February 7,

Use obj.setColumnWidth(Width,colIndex)

Suresh
March 1,

This topic is archived.

See also:


Back to support forum