Description
The NetUI data grid supports rendering complete data sets, but it would be quite useful if the grid supported rendering partial / incomplete data sets. This would allow webapp controller logic to fetch a smaller amount of data from a database or via an ORM framework like Hibernate or OpenJPA.
There are some changes needed in the data grid to support this – specifically, the data grid needs to support:
- a partialDataSet attribute that forces the grid to start rendering data from the beginning of a data set rather than the middle
- support from the PagerModel to render the "current" item of data based on the value from a URL rather than from the location in the data set
- support from the data grid for finding the absolute "current" index in a data set rather than the relative "current" index in a partial data set. This would allow updates to work correctly when a data grid or row is updating an item in a data set.