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 yourNodeInfo
'ssetDisplay
or in theDataProvider
your give to theDefaultNodeInfo
, inonRangeChange
: overwrite the display's visible range to the size of your data.Extend
CellBrowser
and override itscreatePager
method to returnnull
. It won't change the list's page size though, but you can set it to some very high value there too.