Skip to content

Commit f951b41

Browse files
Update README.md
1 parent 4c33cd8 commit f951b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Examples on using table-sort-js with frontend frameworks such as [React.js](http
6363

6464
| <th> classes | Description |
6565
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
66-
| "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"> |
66+
| "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">. Useful for doing custom sorts. |
6767
| "dates-mdy-sort" | Sorts dates in US style mm/dd/yyyy format;. e.g (12/28/2023). Can use "/" or "-" as separator. Overides inferred "dates-dmy-sort" class. |
6868
| "onload-sort" | Sort column on loading of the page. Simulates a click from the user. (can only sort onload for one column) |
6969
| "disable-sort" | Disallow sorting the table by this specific column. |

0 commit comments

Comments
 (0)