Hello Mootools users too,
I have been wondering more less the same question...
have an HtmlTable sortable by many columns. I want to set a column as
I'm running around and looking for the right solution to do this : I
a fixed second sort option so some elements stay linked together.
- If I want to sort by Text, I'd like that first sort takes index 1
and 0 as a second sort element
- If I want to sort by Country, I'd like that first sort takes index 2
and 0 as a second sort element
The idea I first had was to use the option onSort to resort the
current Table (Table.sort()) and pass the index+reverse+prepare to dothis. But I'm wondering on the "good" idea. Would that be a good way ?
This is more less the same question as Maciej as I can't find some
examples to use onSort and prepare ...
Many thanks for your help all,
Axel.