ICEfaces
  1. ICEfaces
  2. ICE-8400

ace:dataTable - ace:row grouping causes misalignment when scrollable=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.1.0 BETA2 062812, Firefox, IE9
    • Workaround Exists:
      Yes
    • Workaround Description:
      Using ace:row pos="after" allows the columns to align.

      Description

      The columns of an ace:dataTable are misaligned when using an ace:row grouping. I've seen this misalignment in Firefox and IE9, testing in IE9 compat mode looks good however.

        Activity

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

        Attached test case and screen shot showing the issue. Load welcomeICEfaces.jsf to see the issue. This could likely be reproduced in the Showcase demo also by adding scrollable to the grouping demo.

        Show
        Arran Mccullough added a comment - Attached test case and screen shot showing the issue. Load welcomeICEfaces.jsf to see the issue. This could likely be reproduced in the Showcase demo also by adding scrollable to the grouping demo.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case11484Example.war [ 14728 ]
        Attachment Case11484Example.zip [ 14729 ]
        Attachment ace-row-grouping-firefox.jpg [ 14730 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000NHVsg]
        Arran Mccullough made changes -
        Workaround Description Using ace:row pos="after" allows the columns to align.
        Workaround Exists [Yes]
        Hide
        Ken Fyten added a comment -

        Looks like a new use-case.

        Show
        Ken Fyten added a comment - Looks like a new use-case.
        Ken Fyten made changes -
        Fix Version/s 3.2 [ 10338 ]
        Assignee Priority P1
        Affects Version/s 3.1 [ 10312 ]
        Affects Version/s 3.1.0.RC1 [ 10337 ]
        Assignee Nils Lundquist [ nils.lundquist ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30336 Mon Jul 30 16:51:40 MDT 2012 nils.lundquist ICE-8400 - Fixed scrolling alignment in cases where the first row is a conditional row.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableConstants.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRowRenderer.java
        Hide
        Nils Lundquist added a comment -

        Managed to resolve this issue by changing the resizing logic so the first-non conditional row is used- and then duplicating that row and prepending a clone of it to the body table rows, with particular styling that hides it, while keeping it in-flow to force column positioning.

        There still may be some complex cases where preexisting resizing logic incorrectly references the conditional row and further adjustments may need to be made.

        Revision #30336
        Committed by nils.lundquist
        A minute ago
        ICE-8400 - Fixed scrolling alignment in cases where the first row is a conditional row.

        Show
        Nils Lundquist added a comment - Managed to resolve this issue by changing the resizing logic so the first-non conditional row is used- and then duplicating that row and prepending a clone of it to the body table rows, with particular styling that hides it, while keeping it in-flow to force column positioning. There still may be some complex cases where preexisting resizing logic incorrectly references the conditional row and further adjustments may need to be made. Revision #30336 Committed by nils.lundquist A minute ago ICE-8400 - Fixed scrolling alignment in cases where the first row is a conditional row.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Evgheni Sadovoi made changes -
        Salesforce Case [5007000000NHVsg] [5007000000NHVsg, 5007000000NI5g0]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1 [ 10010 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: