3.2.0

Loading an XML string in a grid is very very slow.

Hi,

I ahve bought Active WIdgets 2.0 version.
My problem is that I am loading an XML string in the grid but it is very very slow even for 500 records...
When my record size is less than 100 then it is fine.

Here is the code.
function updateGrid(ServerXML)
{
table.setXML(ServerXML);
grid.setCellModel(table);
grid.setRowCount(table.getCount());
grid.refresh();
document.write(grid);
}

Please help
Piyusha
March 31,
Verify that virtual mode is on. If not sure add obj.setVirtualMode(true)
Alex (ActiveWidgets)
March 31,
thanks ALEX,

It is working quiet fine on my machine now.
The thing is that since virtual mode is on, So when i scroll the grid then the records disappear for a sec and then come back.Is there a way by which this doesn't happen and the user can see the records while scrolling.

One more thing, My client is companing that the same grid on his end is working very very slow. But on my machine 2000 records are loading in just 2-3 seconds.But on his end they are taking quiet a lot time.

Can you tell me if this can be any environment issue.
Piyusha
March 31,
hi,Alex
setVirtualMode(true) & setVirtualMode(false) effect is the same .

My problem is that I am loading an XML string in the grid but it is very very slow even for 500 records...
When less than 100 records .... then need 7 or 8 seconds.
But i need 3 or 4 seconds display all data.
The thing is that since virtual mode is on, So when i scroll the grid then the records disappear for a sec and then come back.Is there a way by which this doesn't happen and the user can see the records while scrolling.
thanks...
David
May 14,

This topic is archived.

See also:


Back to support forum