Re: Rendering/painting in IE8/IE9 is slow when compared to FireFox(21.0) and Chrome(Version 27.0.1453.110 m) using GWT.

2013-06-17 Thread Jens
Grid is implemented using a HTML . HTML tables are slow in rendering 
if you do not set table-layout:fixed; as a CSS property. You could also try 
filling the Grid off screen, e.g. when its not yet attached to the DOM so 
the browser has to do less layout/rendering.

If the above did not help then you simply push to much data into your Grid. 
In that case you can take a look at CellTable / DataGrid which are meant 
for handling this large amount of data. They achieve their speed by 
minimizing DOM operations (which are slow in older IEs) and instead 
building a huge HTML string and then set it using 
parentElement.setInnerHTML().

-- J.

Am Montag, 17. Juni 2013 09:29:55 UTC+2 schrieb ajayb...@gmail.com:
>
> Rendering/painting in IE8/IE9 is slow when compared to FireFox(21.0) and 
> Chrome(Version 27.0.1453.110 m) using GWT.
>
> During GWT Table rendering, for each Table cell, we use the below API:
>
> 1. com.google.gwt.user.client.ui.Grid.getCellFormatter().setStyleName
> 2. com.google.gwt.user.client.ui.Grid.setWidget(row, column, new 
> CATableEditableCell(this, row, column, data)) or setWidget(row, column, 
> (Widget)o)
> 3. com.google.gwt.user.client.ui.Grid.setHTML(row, column, datalink);
>
> Here are the Observations while using IE vs Fireforx:
> 1. It takes an average of 50-60 millis to format a cell in table where as 
> in FF it is taking 0-5 millis
> 2. With this overall table painting is taking time when huge data is 
> there/painted in the table
>
> Is it a known phenomena or can IE be optimized further. If yes, can you 
> pls suggest any?
>
> Thanks!!
> Ajay B
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Rendering/painting in IE8/IE9 is slow when compared to FireFox(21.0) and Chrome(Version 27.0.1453.110 m) using GWT.

2013-06-17 Thread ajaybela . ab
Rendering/painting in IE8/IE9 is slow when compared to FireFox(21.0) and 
Chrome(Version 27.0.1453.110 m) using GWT.

During GWT Table rendering, for each Table cell, we use the below API:

1. com.google.gwt.user.client.ui.Grid.getCellFormatter().setStyleName
2. com.google.gwt.user.client.ui.Grid.setWidget(row, column, new 
CATableEditableCell(this, row, column, data)) or setWidget(row, column, 
(Widget)o)
3. com.google.gwt.user.client.ui.Grid.setHTML(row, column, datalink);

Here are the Observations while using IE vs Fireforx:
1. It takes an average of 50-60 millis to format a cell in table where as 
in FF it is taking 0-5 millis
2. With this overall table painting is taking time when huge data is 
there/painted in the table

Is it a known phenomena or can IE be optimized further. If yes, can you pls 
suggest any?

Thanks!!
Ajay B

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.