ICEfaces
  1. ICEfaces
  2. ICE-9504

ace:tableConfigPanel - Support for keeping stacked columns together

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Feature Request: Add a way to group/keep stacked columns together when changing visibility and re-ordering. Currently if a stacked column parent is removed or the order is changed, then the stacked column would appear under a different column. This request is to add a way to keep the stacked columns together as one column in the config panel. This way when one is removed, then so is the other or if a re-order occurs it occurs to both.

        Activity

        Hide
        Deryk Sinotte added a comment -

        Assigning to Ken for re-assignment during 3.4 development cycle.

        Show
        Deryk Sinotte added a comment - Assigning to Ken for re-assignment during 3.4 development cycle.
        Hide
        Nils Lundquist added a comment - - edited

        I've been asked to provide some pseudo code of a user being able to enforce this behaviour.

        It would require a data structure in a bean defining what columns are grouped.

        The app developer would attach a listener to the tableConfigPanel submission ajax event.

        By the time the ajax event listener has been triggered in invokeApplication the tableConfigPanel will have already applied the column reordering.

        The event listener will lookup the current column ordering, find the first column of each stacked set defined by the stacking definition structure and ensure that the columns following it are the correct ones. If not the listener looks up the correct column and assigns it the correct position according to the stacking definition, reindexing the other columns.

        Of course this would enforce this behaviour on the server side / following submission only. Forcing this behaviour on the client side would be much more difficult.

        Show
        Nils Lundquist added a comment - - edited I've been asked to provide some pseudo code of a user being able to enforce this behaviour. It would require a data structure in a bean defining what columns are grouped. The app developer would attach a listener to the tableConfigPanel submission ajax event. By the time the ajax event listener has been triggered in invokeApplication the tableConfigPanel will have already applied the column reordering. The event listener will lookup the current column ordering, find the first column of each stacked set defined by the stacking definition structure and ensure that the columns following it are the correct ones. If not the listener looks up the correct column and assigns it the correct position according to the stacking definition, reindexing the other columns. Of course this would enforce this behaviour on the server side / following submission only. Forcing this behaviour on the client side would be much more difficult.
        Hide
        Arran Mccullough added a comment -

        Adding additional request to support columns that are grouped together. For example when using an ace:columnGroup, a top row can use a colspan of 3. The underlying three columns shouldn't be allowed to be grouped under an outside column and should be contained within this colspan/columnGrouping.

        Show
        Arran Mccullough added a comment - Adding additional request to support columns that are grouped together. For example when using an ace:columnGroup, a top row can use a colspan of 3. The underlying three columns shouldn't be allowed to be grouped under an outside column and should be contained within this colspan/columnGrouping.
        Hide
        Ken Fyten added a comment -

        The requirement to keep grouped column-headers together is captured in ICE-9471.

        Show
        Ken Fyten added a comment - The requirement to keep grouped column-headers together is captured in ICE-9471 .

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: