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

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Summary ace:column - Add new "showSortControls" attribute ace:column - Add new "hideSortControls" attribute
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Affects Documentation (User Guide, Ref. Guide, etc.) [ 10003 ]
        Assignee Priority P2 [ 10011 ]
        Ken Fyten made changes -
        Support Case References Support Case #12842 - https://icesoft.my.salesforce.com/5007000000caP1m
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43820 Fri Dec 12 15:39:57 MST 2014 art.zambrano ICE-10426 added 'hideSortControls' attribute to ace:column
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/column/ProxiedBodyColumn.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/column/ColumnMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableHeadRenderer.java
        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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43826 Tue Dec 16 11:59:32 MST 2014 art.zambrano ICE-10426, ICE-10055 added logic to re-apply all the event listeners to the sort controls whenever they're updated
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableHeadRenderer.java
        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).
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: