-
1. Re: Builtin Sorting and Filtering is not working properly
michpetrov Jun 23, 2015 4:21 AM (in response to pradeep.panda)Multiple sort works by a priority - sort by column A, then by column B and so on. If clicking on one column sorts the table completely then clicking on other columns will not do anything because there is nothing more to sort. (If I didn't know what was going more details would certainly be required, you didn't explain what is not working.)
-
2. Re: Builtin Sorting and Filtering is not working properly
pradeep.panda Jun 24, 2015 6:13 AM (in response to michpetrov)Below details are my requirement
I have two fields in datatable i.e firstname and lastname. I want table data to be sorted based on users click, they may click on firstname or lastname and even they can click on both one after another.
It works fine when i click on firstname and its not working when I do click on lastname and it just change the arrow icon. Some time when I click the same column for sorting , It works for first time and in second click it just change the arrow icon and some element . If on first click the table got sorted on ascending order , on second click (same column) it should get sort on descending order(my requirement). The same kind of issue also there in RICHFACES SHOWCASE.
-
Rich_sorting.PNG 19.3 KB
-
-
3. Re: Builtin Sorting and Filtering is not working properly
michpetrov Jun 24, 2015 7:55 AM (in response to pradeep.panda)It does nothing because the column is already sorted. When you click on first name it sorts by first name, when you then click on last name it sorts by first name and last name. If you want it to sort only by last name then do not use multisort. If I am not understanding you correctly can you show me how you expect the table to be sorted after each click?