Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-4260

VirtualizedTable support specific sort order and column as default

XMLWordPrintable

    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

      1. Proposed title of this feature request

      VirtualizedTable support specific sort order and column as default

      2. What is the nature and description of the request?

      The VirtualizedTable in the Console plugin SDK does not support specifying a default sort order (ascending/descending) or sort column. At the moment it assumes that the first column in ascending order is what should be used. I believe the internal table used in the console does support this and it would be great to have it in the SDK.

      3. Why does the customer need this? (List the business requirements here)

      There are use cases where the default sort order and column will differ from the default. For example in my GitOps plugin I am displaying a list of Revisions with newer revisions having higher numbers. The sort order that makes sense for this view is descending since we want the newest revisions to display first.

      I could provide a custom sort algorithm for the column to reverse the meaning of ascending and descending but then the sort arrow direction in the column header will not represent the sort order being used.

      4. List any affected packages or components.

      dynamic-sdk-console

            amobrem Ali Mobrem
            gnunn@redhat.com Gerald Nunn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: