How to use fields_default_sort to sort descending of a field? #600
Answered
by
jowilf
talischeung-ecg
asked this question in
Q&A
-
I am trying to set the datatable default sorting ID descendingly.
|
Beta Was this translation helpful? Give feedback.
Answered by
jowilf
Oct 30, 2024
Replies: 1 comment
-
As described in the documentation , you need to set the second parameter to true for descending order fields_default_sort = [("id", True)] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
talischeung-ecg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As described in the documentation , you need to set the second parameter to true for descending order