Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.1.0.RC1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3.1.0.BETA2-02112
-
Assignee Priority:P1
Description
This is a regression bug. A data table does not show the full set of rows when the paginator is turned off, the rows in pages before the current one are not displayed.
In general, the UIData first property is not controlled by the component itself, it's expected that the application will control first and rows to implement functionality like pagination, range display, etc.
The component provides an integrated paginator that breaks this expectation somewhat. However, this paginator still just acts to give the client control over the first and rows properties, without app bindings. The component doesn't adjust these properties without obvious prompts from the client .
If disabling the paginator was to forcibly reset the state of first / rows / page, it would be a departure from the current expectation that the component doesn't make subtle internal adjustments to the state of these properties. An application that wishes to reduce the displayed data to only the current top row should be able to just disable pagination and set rows to 1.
Cases where removing pagination entirely is desired should disable pagination and call dataTable.resetPagination().