3.2.0

Active is undefined

I'm getting a "Active is undefined" error when using Active.Controls.Grid.

I have included grid.js and aw.js in the JSP.

Maybe I should be using another control?

Basically I'm trying to load a grid by building a javascript array. I'm loading the array by looping throught a java collection and then doing the following:

var obj = new Active.Controls.Grid;
obj.setColumnProperty("count", myHeaders.length);
obj.setRowProperty("count", myData.length);
obj.setDataProperty("text", function(i,j){return myData[i][j]});document.write(obj);

Should I be using another grid control? Thanks for any help!
Gary
June 30,
From: 2.0.1 trial download: ActiveWidgets/examples/quickref/grid.htm

// AW.UI.Grid (1 header row, 1 footer row, no fixed columns, fast)
// AW.Grid.Extended (multiple header/footer rows, multiple fixed columns)

var obj = new AW.UI.Grid;
var obj = new AW.Grid.Extended;
Mike
June 30,
Thanks that worked!
Gary
July 1,

This topic is archived.

See also:


Back to support forum