Wednesday, February 1, 2017

Re: CellTable Page Size Optimization

Can't you just read the height of the table and calculate row count based on that height?

If you need notifications that a desktop user has made his browser as small as a mobile screen you can use media query events (use JSNI or JsInterop to make them available to your app).

https://developer.mozilla.org/de/docs/Web/API/Window/matchMedia

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment