Tuesday, August 14, 2012

Paging HTML viewer

I'm using the HTML widget to render some dynamic conversation logs.
The problem is these logs can grow over time and add lots of DOM
Nodes. I'm wondering if someone has made some sort of a paging HTML
viewer? Currently I wrap the HTML widget in a GXT
VerticalLayoutContainer with vertical scrolling, but could have used
GWT ScrollPanel I presume. So I'm only showing a portion of the HTML
at a time anyway so seems like paging would be an ideal solution.

One trick, it seems, is that you have to calculate how big (tall) each
portion of the HTML is so you know what portion to show when
scrolling. This seems like it would be very useful general purpose
GWT widget so I'm wondering if someone has made something like this
already.

Thanks,
-Dave

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate