ICEfaces
  1. ICEfaces
  2. ICE-10055

ace:column - Add new "sortWhenGrouping" boolean attribute to optionally support grouping without sorting

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, 4.0.BETA
    • Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      Feature Request: Currently when groupBy is used it will render the column as being sorted. This request is to add a way to not display the sort icons when just groupBy is used. A valid use case would be if a tables contents should be displayed as grouped but sorting is not a requirement.

        Activity

        Hide
        Rahul Chaudhary added a comment -

        Hello,

        This issue has been inactive for days. Has there been an update on this ?

        I am also having problems with group by in lazily loaded tables. When I try to do a groupby, I get a heap exception that my memory is full. I am not sure if this is icefaces issue or my code issue, but I would be more certain if this issue has been fixed.

        Thank You.

        Show
        Rahul Chaudhary added a comment - Hello, This issue has been inactive for days. Has there been an update on this ? I am also having problems with group by in lazily loaded tables. When I try to do a groupby, I get a heap exception that my memory is full. I am not sure if this is icefaces issue or my code issue, but I would be more certain if this issue has been fixed. Thank You.
        Hide
        Arturo Zambrano added a comment -

        Committed new feature to 4.0 trunk at revision 43814 and to 3.3 EE maintenance branch at revision 43815. Added 'sortWhenGrouping' attribute to ace:column to disable automatic sorting when using groupBy.

        Show
        Arturo Zambrano added a comment - Committed new feature to 4.0 trunk at revision 43814 and to 3.3 EE maintenance branch at revision 43815. Added 'sortWhenGrouping' attribute to ace:column to disable automatic sorting when using groupBy.
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces 4 trunk and ee-3.3.0 maintenance branch r43821.
        The test application is set up with 2 columns that each have sortWhenGrouping=true. When first arriving at the page the columns can be sorted. After setting the controls to be hidden, then back to shown, the columns can no longer be sorted unless the Name column is sorted or the page is refreshed.
        QA test apps: /ICE-10055.jsf
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/dataTable/web/views
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dataTable/web/views

        Show
        Liana Munroe added a comment - Tested with ICEfaces 4 trunk and ee-3.3.0 maintenance branch r43821. The test application is set up with 2 columns that each have sortWhenGrouping=true. When first arriving at the page the columns can be sorted. After setting the controls to be hidden, then back to shown, the columns can no longer be sorted unless the Name column is sorted or the page is refreshed. QA test apps: / ICE-10055 .jsf http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/dataTable/web/views http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dataTable/web/views
        Hide
        Arturo Zambrano added a comment - - edited

        Added logic to re-apply all the event listeners to the sort controls whenever they're updated in the client (at revisions 43826 and 43827).

        Show
        Arturo Zambrano added a comment - - edited Added logic to re-apply all the event listeners to the sort controls whenever they're updated in the client (at revisions 43826 and 43827).
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces 4 trunk r43829. Tomcat 7, IE 11, FF 33, Chrome 39. Issue still remains, after setting the controls to be hidden, then back to shown, the columns can no longer be sorted unless the Name column is sorted or the page is refreshed.

        Show
        Liana Munroe added a comment - Tested with ICEfaces 4 trunk r43829. Tomcat 7, IE 11, FF 33, Chrome 39. Issue still remains, after setting the controls to be hidden, then back to shown, the columns can no longer be sorted unless the Name column is sorted or the page is refreshed.
        Hide
        Arturo Zambrano added a comment -

        Committed fix for issue with not being able to sort column after turning 'sortWhenGrouping' off and back on at revisions 43851 and 43852.

        Show
        Arturo Zambrano added a comment - Committed fix for issue with not being able to sort column after turning 'sortWhenGrouping' off and back on at revisions 43851 and 43852.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces4 trunk r43852, Tomcat 7, IE 11, FF 33, Chrome 39.
        Unable to verify using ee-3.3.0 maintenance branch at this time as there other issues with dataTable that may be interfering.

        Show
        Liana Munroe added a comment - Verified ICEfaces4 trunk r43852, Tomcat 7, IE 11, FF 33, Chrome 39. Unable to verify using ee-3.3.0 maintenance branch at this time as there other issues with dataTable that may be interfering.
        Hide
        Arturo Zambrano added a comment -

        Changed use of ice.ace.instance for widgetVar in 3.3 EE maintenance branch at revision 43853.

        Show
        Arturo Zambrano added a comment - Changed use of ice.ace.instance for widgetVar in 3.3 EE maintenance branch at revision 43853.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces ee-3.3.0 maintenance branch r43860. Tomcat 7, IE 11, FF 34, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces ee-3.3.0 maintenance branch r43860. Tomcat 7, IE 11, FF 34, Chrome 39.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: