ICEfaces
  1. ICEfaces
  2. ICE-3433

Add a style for the sorted header (datatable)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      java 5

      Description

      It is quite difficult to set another color for the header of the sorted column in a datatable.
      I attach an example.

        Activity

        Hide
        D D added a comment -

        Patch for TableRenderer against current SVN trunk.
        This add a CSS class to TH elements of sorted column. I named this class "iceDatTblActvColHdr" but you will certainly find a better name...
        This works for commandSortHeader as a column header facet and also for commandSortHeader as a child of a column in a columnGroup. I hope i've not forgotten a case.
        Is there a chance that this will be applied in the next release ?

        Show
        D D added a comment - Patch for TableRenderer against current SVN trunk. This add a CSS class to TH elements of sorted column. I named this class "iceDatTblActvColHdr" but you will certainly find a better name... This works for commandSortHeader as a column header facet and also for commandSortHeader as a child of a column in a columnGroup. I hope i've not forgotten a case. Is there a chance that this will be applied in the next release ?
        Hide
        Adnan Durrani added a comment -

        User supplied patch tested and applied, with a very minor change.
        The following new style class added for the active sortable header.

        • iceDatTblActvSrtHdr

        trunk revision : 17459
        branch 1.7 revision : 17464

        Show
        Adnan Durrani added a comment - User supplied patch tested and applied, with a very minor change. The following new style class added for the active sortable header. iceDatTblActvSrtHdr trunk revision : 17459 branch 1.7 revision : 17464
        Hide
        Adnan Durrani added a comment -

        It does not support the ice:columns.

        Show
        Adnan Durrani added a comment - It does not support the ice:columns.
        Hide
        Adnan Durrani added a comment -

        trunk revision 17515
        branch 1.7 revision 17516

        Show
        Adnan Durrani added a comment - trunk revision 17515 branch 1.7 revision 17516
        Hide
        Adnan Durrani added a comment -

        support added to the columns component

        Show
        Adnan Durrani added a comment - support added to the columns component

          People

          • Assignee:
            Unassigned
            Reporter:
            D D
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: