:: Forum >>

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
Monday, July 25, 2005
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
Tuesday, July 26, 2005

This topic is archived.


Back to support forum

Forum search