ICEfaces
  1. ICEfaces
  2. ICE-9531

ace:dataTable column pinning should survive row level updates

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      *
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      This component sets the calculated pinning styling on the individual cells, so when a row update occurs the styling is lost. Setting the styling in a dynamic stylesheet would allow the styling to survive past the row update.

      In a related issue the dynamic stylesheet approach must be confirmed on firefox for multiple stylesheets.

        Issue Links

          Activity

          Hide
          Arturo Zambrano added a comment -

          Summary of features that work and don't work in conjunction with column pinning.

          Working

          • selection
          • sorting
          • filtering (the whole table is slightly shifted to the right after filtering a pinned column, no more shifting on subsequent filtering actions)
          • panel expansion
          • row expansion
          • row listener

          Not Working

          • paginator (misalignments after paginating when at least one column is pinned, it seems like applying resizeScrolling() afterwards fixes them)
          • column reordering (misalignments when reordering a column when at least one column is pinned)
          • column resizing (column resizing functionality not possible at all on scrollable tables, not directly related to column pinning)
          • grouping, column group (as expected)
          • live scrolling (misalignments occur after the first live scrollling dynamic update)
          • cell editor (pinned columns are moved to the left edge of the page when activating the cell editor)
          • table config panel (changes to table structure or table order won't work, but sorting and name changes will work)
          Show
          Arturo Zambrano added a comment - Summary of features that work and don't work in conjunction with column pinning. Working selection sorting filtering (the whole table is slightly shifted to the right after filtering a pinned column, no more shifting on subsequent filtering actions) panel expansion row expansion row listener Not Working paginator (misalignments after paginating when at least one column is pinned, it seems like applying resizeScrolling() afterwards fixes them) column reordering (misalignments when reordering a column when at least one column is pinned) column resizing (column resizing functionality not possible at all on scrollable tables, not directly related to column pinning) grouping, column group (as expected) live scrolling (misalignments occur after the first live scrollling dynamic update) cell editor (pinned columns are moved to the left edge of the page when activating the cell editor) table config panel (changes to table structure or table order won't work, but sorting and name changes will work)
          Hide
          Arturo Zambrano added a comment - - edited

          r48601: added another advanced test for column pinning to test various features working in conjunction

          The test page is http://localhost:8080/dataTable/views/columnPinningAdvanced2.jsf

          The test shows how column pinning works with sorting, filtering and selection. It also shows how the pinning order is saved after reloading the page, and it shows how the pinning styling and structure is preserved after dynamically updating all the rows (i.e. all <tr> elements and their children).

          Show
          Arturo Zambrano added a comment - - edited r48601: added another advanced test for column pinning to test various features working in conjunction The test page is http://localhost:8080/dataTable/views/columnPinningAdvanced2.jsf The test shows how column pinning works with sorting, filtering and selection. It also shows how the pinning order is saved after reloading the page, and it shows how the pinning styling and structure is preserved after dynamically updating all the rows (i.e. all <tr> elements and their children).
          Hide
          Ken Fyten added a comment -

          Re-opened.

          1. I can't find any Wiki docs that mention pinning. We should be documenting what works and what doesn't with it.
          2. Should we consider adding the advanced test functionality to the pinning demo (filtering, sorting, etc.)?

          A few issues:

          • It would be better if the pinning icon as always on it's own row, below the column headings to ensure a consistent layout/presentation.
          • On my mac at least, if you scroll the showcase demo table all the way to the right the columns mis-align. See pinTableIssue.png attached.
          Show
          Ken Fyten added a comment - Re-opened. 1. I can't find any Wiki docs that mention pinning. We should be documenting what works and what doesn't with it. 2. Should we consider adding the advanced test functionality to the pinning demo (filtering, sorting, etc.)? A few issues: It would be better if the pinning icon as always on it's own row, below the column headings to ensure a consistent layout/presentation. On my mac at least, if you scroll the showcase demo table all the way to the right the columns mis-align. See pinTableIssue.png attached.
          Hide
          Arturo Zambrano added a comment -

          r52456: fix to always render pinning controls below the column name; fix to invoke resizeScrolling() when pinning and when unpinning a column, in order to keep columns aligned

          Show
          Arturo Zambrano added a comment - r52456: fix to always render pinning controls below the column name; fix to invoke resizeScrolling() when pinning and when unpinning a column, in order to keep columns aligned
          Hide
          Arturo Zambrano added a comment -

          Added information to the DataTable wiki page regarding the features that work and don't work with column pinning.

          As for including sorting and filtering in the demo, while all those features can work in conjunction, there's still, unfortunately, an issue with the whole table slightly shifting to the right on a first filtering request per column and on a first sorting request per column, when such column is pinned.

          Show
          Arturo Zambrano added a comment - Added information to the DataTable wiki page regarding the features that work and don't work with column pinning. As for including sorting and filtering in the demo, while all those features can work in conjunction, there's still, unfortunately, an issue with the whole table slightly shifting to the right on a first filtering request per column and on a first sorting request per column, when such column is pinned.

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Nils Lundquist
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: