ICEfaces
  1. ICEfaces
  2. ICE-10426

ace:column - Add new "hideSortControls" attribute

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4, ace:column component.

      Description

      In order to provide more flexibility to application developers in terms of whether or not a column's sort controls should be displayed and made available to the user when the column's "sortBy" attribute is defined (sorting is occurring) a new attribute should be added to ace:column to optionally hide the sort controls.

      Add a new "hideSortControls='true'/'false'" attribute to ace:column (default = 'false'). When hideSortControls='true' the sort controls will not be rendered in the column header, even if the sortBy attribute is defined on the column. (Sort controls are never rendered in the column header if sortBy is not defined).

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed new feature to the 4.0 trunk at revision 43820 and to the 3.3 EE maintenance branch at revision 43821. Added 'hideSortControls' attribute to ace:column.

        Show
        Arturo Zambrano added a comment - Committed new feature to the 4.0 trunk at revision 43820 and to the 3.3 EE maintenance branch at revision 43821. Added 'hideSortControls' attribute to ace:column.
        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 4 columns that each have hideSortControls=false. 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 paginator is used or the page is refreshed.
        QA test apps: /ICE-10426.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 4 columns that each have hideSortControls=false. 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 paginator is used or the page is refreshed. QA test apps: / ICE-10426 .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 -

        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 - 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 -

        Verified ICEfaces 4 trunk r43829. Tomcat 7, IE 11, FF 33, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r43829. Tomcat 7, IE 11, FF 33, Chrome 39.
        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:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: