:: Home >>

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

23 Apr 07
can't get the value of hidden cell Benja (3)
8 Feb 07
Hide row-number column Curtis (3)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData