Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-575

add defaultSortOrder attribute to <af:column>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0-incubating-core
    • 1.0.0-incubating-core
    • None
    • None

    Description

      Currently, there is no way to specify the default sort order on a column inside an <af:table> component; the first user click always results in an ascending-order sort. Request is for a defaultSortOrder attribute on <af:column> to make this configurable, allowing for, say, a table of customers to be sorted in descending order of Revenue, Growth Rate, or # of Orders (e.g. columns whose "natural" sort order is descending).

      Attachments

        1. TableRenderer.patch
          2 kB
          Pierre-Luc Archambault
        2. CoreColumn.patch
          1 kB
          Pierre-Luc Archambault

        Activity

          People

            adamwiner Adam Winer
            rogers_reilly Rogers Reilly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: