:: Forum >>

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
Friday, June 30, 2006
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
Friday, June 30, 2006
Thanks that worked!
Gary
Saturday, July 1, 2006

This topic is archived.


Back to support forum

Forum search