Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-109

Allow define Grid sort within the template.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 5.0.15
    • None
    • None
    • None
    • T 5.0 - 5.0.11

    Description

      Grid by default enables sort for all columns without providing a flexible and quick mechanism at the template level for configuring which columns to make sortable, and to allow to turn on and off sorting alltogether. Current sort default should be evaluated as lot of developers disable sorting for all columns only to enable it for a column or two, if that at all.

      Proposed enhancement:

      1) Change Grid to disable sort on all columns.by default (this is the least needed of all four enhancements, but it would be nice if this could be changed)

      2) Add sortAll parameter which accepts boolean value. If true, then sort for all columns is enabled, if false sort for all columns is disabled. Per enhancement #1, default would be false.

      3) Add sorted parameter which accepts comma delimited names of columns to be sorted. I am not sure how this would play out with existing include parameter, as some decisions have to be made as far as what if "sorted" contains a property which is excluded from display in a first place?

      4) Add unsorted parameter which is opposite of sorted parameter.

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              penguin74 Adam Zimowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified