filamentgroup / tablesaw

A group of plugins for responsive tables.
MIT License
5.48k stars 434 forks source link

Sort Switch Removed After Using Mode Switch #237

Closed Tekanewa closed 7 years ago

Tekanewa commented 8 years ago

As the title states, when using a table with both the sortable switch (data-tablesaw-sortable-switch) and mode switch (data-tablesaw-mode-switch) present, the sortable switch is getting removed once the table mode has been changed, using the mode switch option.

Is this intended behavior, and if so, why? I could not figure out why that would be necessary ... especially as the sortable switch can be used with any of the table modes.

Thanks!

zachleat commented 7 years ago

I reproduced this on the Kitchen Sink demo http://filamentgroup.github.io/tablesaw/demo/kitchensink.html