:: Documentation >>

Hide

The simplest way to hide columns is setting column count property to the smaller number than actual number of fields in the dataset

var myCells = [
    ["Some text", "123", "456.00"]
];
...
obj.setColumnCount(2);

In addition it is possible to specify exactly which columns should be rendered by providing an array of column indices.

obj.setColumnIndices([1,2,3]); // column 0 is hidden
obj.setColumnCount(3);

See also

Class reference - column count, column indices

Comments

can't get the value of hidden cell Benja (3)
Hide row-number column Curtis (3)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5