:: Forum >> Version 1 >>

displaying subset of actual grid data

i'd like to display only a portion of the data that is in my data array.

say i have: id, salary,name, address in my array

i on'y want to display salary,name,address in the grid.. how can you 'hide' columns?

looked extensively for examples, plesee help!
Foobar
Monday, October 3, 2005
i think i found the answer:

You can show a subset of available columns supplying an array of column indices into the column/values property:

obj.setColumnValues([0,2,4]);

This only affects which columns are rendered, all the data is still available.


foo
Foobar
Monday, October 3, 2005



This topic is archived.

Back to support forum

Forum search