Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1249

Add filtering/sorting capabilities to the {table} macro

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 1.0 RC5
    • None
    • Low

    Description

      With XWIKI-1244 we've added support for filtering/sorting to HMTL tables by adding some class ids. The next step is to add these features to the

      {table}

      macro. This requires a rewrite of that macro as it's currently using Radeox code which doesn't support adding class ids.

      Here's a proposal for the format:

      {table:sortable|filterable|sortColumns=0,1,2,4|filterColumns=0,1,2,4}
      

      where sortColumns and filterColumns specify which columns are sortable/filterable. By default if filterable is on then all columns are filterable. Same for sortable.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: