3.2.0

How to change "Column 0" "Column 1" to something else?

I've searched the forum and did not see where this question had been asked.

I'm using ""runtime/styles/xp/grid.css" and I want to put something else in the column header instead of the "Column 0" "Column 1" etc.

How do I do this?

This is part of my script:

var obj = new Active.Controls.Grid;
obj.setProperty("column,count", 2);
obj.setModel("data", table);
Dusty P
July 25,
see examples/grid/basic.htm. Basically need to set up an array of column headings, i.e
var cols=[..,..,.....];
then
obj.setProperty("column/text",function(i){return cols[i];});
S
July 26,

This topic is archived.

See also:


Back to support forum