GWT's CellBrowser is a great way of presenting dynamic data.
However when the browser contains more rows than some (seemingly) arbitrary maximum, it offers a "Show More" label that the user can click to fetch the unseen rows.
How can I disable this behavior, and force it to always show every row?
There are several ways of getting rid of the "Show More" (which you can combine):
In your TreeViewModel
, in your NodeInfo
's setDisplay
or in the DataProvider
your give to the DefaultNodeInfo
, in onRangeChange
: overwrite the display's visible range to the size of your data.
Extend CellBrowser
and override its createPager
method to return null
. It won't change the list's page size though, but you can set it to some very high value there too.