Thursday, September 25, 2014

Re: CellList exceeds height when populated with rows

CellList itself can not scroll. You need to put it into a ScrollPanel and give that ScrollPanel a fixed size.

Even though you have set a fixed height to the CellList it is normal that you see list items outside of that defined height because in HTML overflowing content is always visible unless you tell the browser to hide it, see: http://jsfiddle.net/zb7nfk50/ .

The GWT showcase also has an example of an endless scrolling cell list. In that example the ScrollPanel itself acts as pager: 

http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwCellList


-- J.

--
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+unsubscribe@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/d/optout.

No comments:

Post a Comment