3.2.0

Hide a column


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

Jan
December 2,
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)
December 2,
oops,

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


for Firefox :-)
Alex (ActiveWidgets)
December 2,
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
December 12,
Oops, I guess that is what you were referring to if you did not use
obj.setColumnIndices([0,2,3,4,5]);

Rick Villela
December 12,

This topic is archived.

See also:


Back to support forum