Absolute sorting does not work
Absolute sorting does not work
SujitJ
Posts: 19Questions: 8Answers: 0
I want to use absolute sorting such that columns with particular value is always seen on top.
JS Fiddle : https://jsfiddle.net/SujitJ/f73g0swn/
I would want all the entries with 'London' in 'Office' column to be seen on top.
This discussion has been closed.
Answers
Seems to work for me. When I click on the "Office" column London is always at the top. What browser are you using where that doesn't working?
Allan
Allan
Thanks for your response. Clicking on the Office column shows London on the top, but ideally I would want to have it done automatically when the table is loaded without clicking on Office column.
Also can the sorting be such that its ascending on first column but shows the London entries at top. (Right now if I click on Office column, the sorting on first column is gone)
Use the
order
option to set the default order: https://jsfiddle.net/f73g0swn/1/ .If you want that column to be fixed (i.e. always the primary sorting) then you can use
orderFixed
.Allan