How to disable automatic sorting for datatables #64
-
|
I'm using the datatables with export so I can print and export to PDF. However, the table keeps automatically sorting on the first column. How do I tell it to stop sorting automatically? |
Beta Was this translation helpful? Give feedback.
Answered by
TakheleTsabedze
Jun 13, 2024
Replies: 1 comment
-
|
Add this class to the column you do not want to sort. class="table-plus datatable-nosort" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
reogle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this class to the column you do not want to sort. class="table-plus datatable-nosort"
For example I do not want to sort the House Code then it would be HOUSE CODE