Re: table.getInnerHTML() not giving appropriate results

2013-02-25 Thread Axel REGNOULT
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

Re: table.getInnerHTML() not giving appropriate results

2011-01-13 Thread Thomas Broyer
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

Re: table.getInnerHTML() not giving appropriate results

2011-01-13 Thread Tej Sarup
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.

table.getInnerHTML() not giving appropriate results

2011-01-12 Thread Tej
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

Re: table.getInnerHTML() not giving appropriate results

2011-01-12 Thread Thomas Broyer
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

Re: table.getInnerHTML() not giving appropriate results

2011-01-12 Thread Tej
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