Added npm support
Added multicolumn sort capabilities. See examples/multicolumn-sort.html.
Updated internal representation of tables.
Added will_manually_build_table
setting.
We are introducing an implementation of settings for StupidTable. The first
setting is should_redraw
. This setting allows you to specify a function that
can conditionally prevent the table from redrawing after a sort.
A <th>
element can now be provided with a data-sort-onload=yes
attribute.
Once $table.stupidtable()
is called the table will immediately be sorted by
the column with the data-sort-onload=yes
attribute if one is found.
Resolves Issue #180 and Issue #126.
Fixed Issue #183
that prevented consecutive calls to $th.stupidsort()
from running when the
same sort direction was specified.
before/aftertablesort callbacks can access the column header element via data.$th
.
Force a stable sort to circumvent unstable sorting implementations.