ICEfaces
  1. ICEfaces
  2. ICE-8094

ace:dataTable - add new "staticHeaders" attribute

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29279 Fri Jun 01 15:26:57 MDT 2012 nils.lundquist 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.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableScrolling.xhtml
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRendererUtil.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableFootRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/CoreRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableHeadRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRowRenderer.java

            People

            • Assignee:
              Nils Lundquist
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: