3.2.0

Need help with setColumnProperty method

I'm using version 2.5.3 but when I try to run my app in IE I get a 'method not supported' error on the setColumnProperty function. The funny thing is that I call the method directly above the error with "count" being the first parameter. The second method that fails has "text" as the first parameter. I cannot find any meaningful documentation on this site. Any help would be appreciated. (code listed below)

receivedGrid.setColumnProperty("count", receivedColumnHeaders.length);
receivedGrid.setColumnProperty("text",
function(i){return receivedColumnHeaders[i]});
Simon
October 20,
Here is the documentation page for the column properties -

http://www.activewidgets.com/aw.ui.grid/column-model.html

and the grid itself -

http://www.activewidgets.com/aw.ui.grid/

Activate 'Show properties' and 'Show all methods' checkboxes on the right side of the page to see all properties and generated methods.

The preferred method in AW 2.x is to call setColumnCount(value) method instead of setColumnProperty("count", value).

There is no columnText property in 2.x - use headerText instead.
Alex (ActiveWidgets)
October 20,

This topic is archived.

See also:


Back to support forum