Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0.BETA1
-
Fix Version/s: 3.1.0.BETA2, 3.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces ace:dataTable component
-
Assignee Priority:P2
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
While the current ace:dataTable supports scrollable dataTable with static headers and footers, it would be nice to be able to configure whether or not the headers/footers where static when using "scrollable=true".
By specifying "scrollable=true" and "staticHeaders=false", the scrollable mode would not have to use the relatively expensive column sizing calculations and could rely on the native browser column sizing. In addition, this mode would enable the paginator controls (if pagination was also being used) to remain centred within the visible table instead of scrolling horizontally with the table.
By specifying "scrollable=true" and "staticHeaders=false", the scrollable mode would not have to use the relatively expensive column sizing calculations and could rely on the native browser column sizing. In addition, this mode would enable the paginator controls (if pagination was also being used) to remain centred within the visible table instead of scrolling horizontally with the table.
Issue Links
- depends on
-
ICE-8025 ace:DataTable - Centre Paginator controls within visible dataTable region on page to avoid scrolling it off screen (horiz. scrolling)
- Closed
Revision #29279
Committed by nils.lundquist
Moments ago
ICE-8094- Added staticHeaders table scrolling parameter. Refactored DataTable rendering to combine scrollable and "regular" table code paths. Added static helper classes to modularize independent sections of the rendering and reduce the 1200+ lines of code in the DataTableRenderer.CoreRenderer helper method, resolveWidgetVar was made static by necessity. Could've also been refactored into a util class. This had no effect of the functionality of resolveWidgetVar.