I know this topic has been discussed before:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/270eeab1216969a4
I have a service that returns a variable sized ArrayList of
serializable model objects, and I was using FlexTable to show it.
Killed that, now I use a grid.
I know the grid size since I know the list.size( ). The code is
something like this:
// contains the grid
VerticalPanel vPanel;
Grid grid;
public void showResults(ArrayList<ModelObject> list) {
if(null != grid) {
// remove old grid
vPanel.remove(grid);
}
// create new grid
grid = new Grid(list.size()+1, 6);
grid.setStyleName("search-grid");
// etc., populate grid from list
}
Ok, this works fantastic in FireFox. I have no performance issues.
counts upwards of 1000 display in 1-2-3 seconds...not a performance
issue for the users of this app.
In IE, this takes forever to render. I followed the link Thomas
posted which had some useful info:
http://blogs.msdn.com/ie/archive/2005/02/10/370721.aspx
And I adjusted my css accordingly:
.search-grid {
table-layout:fixed;
}
...but IE still takes forever. I know people will say -- "you should
paginate it", but it is slightly more complicated than that. The old
app which this one is replacing did not do pagination, and had no
perf. issues (Struts 1 app). Changing it now may be slightly annoying
for end-user, and if FireFox works great, I'm just looking for that
simple IE tweak that can make it perform similarly.
If anyone has any tips / pointers for making IE table perf. work
better, I'd love to hear it.
Regards,
Davis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---