File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,11 @@ Refer to the documenation for examples on how to use table-sort-js with [HTML](h
5151| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
5252| "order-by-desc" | Order by descending on first click. (default is aescending) |
5353| "data-sort" | Sort by [ data attributes] ( https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes ) , e.g < ; td data-sort="42"> ; |
54+ | "onload-sort" | Sort column on loading of the page. Simulates a click from the user. (can only sort onload for one column) |
5455| "file-size-sort" | Sort file sizes(B->TiB) uses the binary prefix. (e.g KiB) |
56+ | "disable-sort" | Disallow sorting the table by this specific column. |
5557| "alpha-sort" | Sort alphabetically (z11,z2); default is [ natural sort] ( https://en.wikipedia.org/wiki/Natural_sort_order ) (z2,z11). |
5658| "punct-sort" | Sort punctuation; default ignores punctuation. |
57- | "disable-sort" | Disallow sorting the table by this specific column. |
5859
5960#### Development:
6061
You can’t perform that action at this time.
0 commit comments