I found the problem but not the solution:
I use a second widget framework (
http://www.netwindows.org/) , so having two big libraries in memory is a problem.
by setting
grid.setProperty("data/text", function(i, j){return myData[i][j]});
one creates a closure that seems to consume a lot of memory.
If I assign data directly to the grid, without using a callback function, I avoid this. But I could not find out how to do this.
I would like to do something like
for(var i in myData)
for(var j in myData[i])
grid.**setCellValue**(i,j,myData[i][j]);
What would I have to replace for **setCellValue** ?
The design of ActiveWidgets seems so well thought out, but it is too complex for me to sort through the source code to find that out, since it seems to dynamically create its own methods.
This topic is archived.