3.2.0

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
October 3,
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
October 3,

This topic is archived.

See also:


Back to support forum