Tuesday, November 2, 2010

Re: CellTable as a replacement for incubator ?

CellTable isn't a complete replacement of PagingScrollTable, but we put a lot of work into the API to make it more clear and extensible.  We'd like to create a full featured enterprise CellTable, but we also have a lot of other projects going on and don't have the dev time to do it right now.

in IE8 I see 3-4 seconds 100% CPU just to let the browser calculate
mouse over row highlighting, when showing a lot of rows.
Have you tried looking at it with SpeedTracer?  We tested with large tables (100 rows), and the hover code is pretty straight forward.  In past applications, we've seen performance problems when hovering due to descendent style selectors because of the way they are implemented in browser.

For example, you have this CSS style defined:
.myRandomWidget td {
  padding: 3px;
}

And you have a CellTable that is NOT myRandomWidget, then changing the hover style of the row will cause IE to walk up from every TD in the CellTable trying to match the style definition.  In the degenerate case, where CellTable is not myRandomWidget, this means walking up to the body element.  This is a native browser implementation, and the only solution is to avoid descendent style selectors.


Thanks,
John LaBanca
jlabanca@google.com


On Tue, Nov 2, 2010 at 9:59 AM, stuckagain <david.nouls@gmail.com> wrote:
Hi,

I have waited a long time to finally get the Incubator table out of my
dependencies ... and now with GWT 2.1 release I realize that my
waiting has been a total waste of time!

The CellTable is a very small subset of the incubator table... I would
rather call it a CellGrid.

in IE8 I see 3-4 seconds 100% CPU just to let the browser calculate
mouse over row highlighting, when showing a lot of rows.

Or am I using it wrongly ? Did I mis some setters or decorator classes
that makes the CellTable something useful beyond the expenses demo ?

David

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment