Hi Thomas,
Could you confirm me that the choice between the InnerHTML or the CellTable
can also depend of the amount of data that the table needs to display
(CellTable talks about large amout of data) ?
Indeed, I am thinking that using a CellTable to manage a list of 10 items
is oversized
Yes, CellTable (and other cell widgets, a.k.a. Data Presentation Widgets in
the docs) build an HTML string and uses innerHTML for best performances
(well, actually, CellBrowser does use inner widgets, but it uses CellLists
for each tree level for best performances).
--
You received this
Thanks ton Thomas!
--
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+unsubscr...@googlegroups.com.
Hi there,
I am fairly new to GWT and have been trying out the examples as given.
I have been facing a problem with the TableElement.getInnerHTML()
method.
The code I have is
If you get the *inner* HTML of a table, you'll only take the tbody and its
children which, when inserted into a div with innerHTML (i.e. parsed as if
there were in that div, instead of a table) strips the table elements
(tbody, tr, td).
What you'd need is a getOuterHTML which unfortunately
Thank you!
I had only tried this approach because it was there in the examples! :
( From what I have seen/read using the innerHtml for creating the DOM
is much faster than actually creating widgets etc etc in terms of
rendering. So is CellTable the alternative to doing what i did? Or is
there some