Based on v3.0.9, I added several features which I need for my purposes.
Ability to force order on a column (i.e. only ascending or descending). Corresponding option will be removed from switcher if it exists. Clicking on header will only sort the column in the order enforced.
Ability to memorize the column and order by which the table was previously sorted. When page is reloaded, the table will be automatically sorted with previously memorized options. (Related to issue https://github.com/filamentgroup/tablesaw/issues/101)
Ability to sort automatically on the default column during init.
I'm not really familiar with QUnit, so I include two demo webpages to demonstrate the features for now. It's very possible that these changes do not play well with other modes such as Stack. Should further actions or changes be required I can be of assistance.
Based on v3.0.9, I added several features which I need for my purposes.
I'm not really familiar with QUnit, so I include two demo webpages to demonstrate the features for now. It's very possible that these changes do not play well with other modes such as Stack. Should further actions or changes be required I can be of assistance.