ICEfaces
  1. ICEfaces
  2. ICE-7854

ace:dataTable - add support for setting "maxHeight" on scrollable dataTable (to keep footer nested below last row)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.BETA
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      When using a scrollable dataTable and there is not enough rows to fill the height. The footer of the table displays away from the contents, as the current approach is to set a fixed dataTable height. This improvement would allow the specification of a maxHeight (or "collapse to data") attribute that when specified would allow the height of the dataTable to shrink to the fit the available rows, and have the footer render immediately below the last row.

        Activity

        Arran Mccullough created issue -
        Hide
        Arran Mccullough added a comment -

        Running footerTest.jsf in the attached test case shows the issue.

        Show
        Arran Mccullough added a comment - Running footerTest.jsf in the attached test case shows the issue.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case10648Example.zip [ 14134 ]
        Attachment Case10648Example.war [ 14135 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000JMQUL]
        Arran Mccullough made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000JMQUL] [5007000000LEvFy]
        Ken Fyten made changes -
        Summary ace:dataTable - footer displays away from table contents ace:dataTable - add support for setting "maxHeight" on scrollable dataTable (to keep footer nested below last row)
        Fix Version/s 3.1 [ 10312 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.)]
        Description When using a scrollable dataTable and there is not enough rows to fill the height. The footer of the table displays away from the contents.

        When using a scrollable dataTable and there is not enough rows to fill the height. The footer of the table displays away from the contents, as the current approach is to set a fixed dataTable height. This improvement would allow the specification of a maxHeight (or "collapse to data") attribute that when specified would allow the height of the dataTable to shrink to the fit the available rows, and have the footer render immediately below the last row.

        Assignee Nils Lundquist [ nils.lundquist ]
        Nils Lundquist made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Nils Lundquist made changes -
        Priority Minor [ 4 ] Major [ 3 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28367 Fri Mar 16 10:03:55 MDT 2012 nils.lundquist ICE-7854 - Changed scrollable table height rule to max-height.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28368 Fri Mar 16 10:08:21 MDT 2012 nils.lundquist ICE-7854 - Changed scrollable table height rule to max-height
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28372 Fri Mar 16 10:52:54 MDT 2012 nils.lundquist ICE-7854 - Changed scrollable table height rule to max-height
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Hide
        Nils Lundquist added a comment - - edited

        Revision #28367
        Committed by nils.lundquist
        Today 10:03 AM
        ICE-7854 - Changed scrollable table height rule to max-height.

        Show
        Nils Lundquist added a comment - - edited Revision #28367 Committed by nils.lundquist Today 10:03 AM ICE-7854 - Changed scrollable table height rule to max-height.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.1.0.BETA1 [ 10335 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: