I have a few places where I do this sort of thing. Preferable I wrap
the original value obtained from my DAO in the GridDataSource right
after obtaining it. Where the wrapper does the further initilization
required. If that is not an option, you can always do the wrapping in
@SetupRender and p
Hi.
I have my own GridDataSource for that, but I want to extend the data
fetched by the GridDataSource.
I can see the following options for that.
* lazily init reference data by using the objects return from
dataSource.getRowValue(0) to
dataSource.getRowValue(grid.getRowsPerPage() -1)
* a
Hi,
I assume that I can use Grid.getCurrentPage() and
Grid.getRowsPerPage() for that.
Correct, but even better would be to implement your own GridDataSource
since then you can do all the data fetching and preperations in one go.
Your own GridDataSource forms the source @Parameter for the Gri