[richfaces-issues] [JBoss JIRA] Updated: (RF-7278) dataTable sortMode=multi can't "unsort"

Ian Springer (JIRA) jira-events at lists.jboss.org
Mon Jan 18 11:47:50 EST 2010


     [ https://jira.jboss.org/jira/browse/RF-7278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Springer updated RF-7278:
-----------------------------

    Description: 
Once a column has been clicked on for sorting, you can change from ascending to descending, but you can't go back to unsorted.  So, if I have a three-column table with columns A, B, and C and decide to sort by A then B but then change my mind and want to sort by C then B, I'm stuck with reloading the page to clear my initial sort choices.

What would be nice is click to sort ascending, click again to sort descending, click again to clear the sort setting completely.  Or something similar to clear it short of a page reload.

  was:
Once a column has been clicked on for sorting, you can change from ascending to descending, but you can't go back to unsorted.  So, if I have a three-column table with columns A, B, and C and decide to sort by A then B but then change my mind and want to sort by C then B, I'm stuck with reloading the page to clear my initial sort choices.

What would be nice is click to sort ascending, click again to sort descending, click again to clear the sort setting completely.  Or something similar to clear it sort of a page reload.



Note, this functionality is needed for both dataTables and extendedDataTables.

Another option would be to have a double-click switch the column to unsorted. This would be backward-compatible with the current behavior. Yet another option would be right click and a context menu pops up with two options - "Reverse sorting" and "Disable sorting".


> dataTable sortMode=multi can't "unsort"
> ---------------------------------------
>
>                 Key: RF-7278
>                 URL: https://jira.jboss.org/jira/browse/RF-7278
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 3.3.1
>            Reporter: Roland Roberts
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>
> Once a column has been clicked on for sorting, you can change from ascending to descending, but you can't go back to unsorted.  So, if I have a three-column table with columns A, B, and C and decide to sort by A then B but then change my mind and want to sort by C then B, I'm stuck with reloading the page to clear my initial sort choices.
> What would be nice is click to sort ascending, click again to sort descending, click again to clear the sort setting completely.  Or something similar to clear it short of a page reload.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list