:: Forum >>

Hide a column


What's the way to hide a col in V2?

Jan
Friday, December 2, 2005
The correct method is -

obj.setColumnIndices([0,2,3,4,5]);

You can still do it with CSS -

.aw-column-1 {
    display: none;
}


but only if you use row selection (otherwise hidden cell will be selectable as well).
Alex (ActiveWidgets)
Friday, December 2, 2005
oops,

.aw-column-1 {
    display: none!important;
}


for Firefox :-)
Alex (ActiveWidgets)
Friday, December 2, 2005
There seems to be a problem with using display:none (or width=0) and single-cell mode. The cell highlight will disappear on you when you tab to a column that is hidden this way.
Rick Villela
Monday, December 12, 2005
Oops, I guess that is what you were referring to if you did not use
obj.setColumnIndices([0,2,3,4,5]);
Rick Villela
Monday, December 12, 2005

This topic is archived.


Back to support forum

Forum search