-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorting for file size with KB, MB...? #54
Comments
Is this a feature you would like to program @weilinzung ? If so, we could add it. |
I had the same problem, because file sizes where formatted server-side.
It'd be nice if it appeared in the wiki ! |
Hello, I've been dealing with similar issue for an hour before eventually finding this thread, which greatly helped me. Thanks to you all. So commenting here for search engines: data-content in Simple-Datatables is equivalent to DataTables data-sort or data-order EDIT April 2024: The answer above was valid for simple-datatables < 6.0.0 When using a version >= 7.0.3, you must use |
How do you actually set the data-content-value? I tried to set it after datatable.rows().add() but it gets cleared after sorting the column. |
My HTML is generated server side, so data-content come from there. |
Sorting for file size with KB, MB...?
The text was updated successfully, but these errors were encountered: