Ordering Flow from DB
Ordering Flow from DB
My Records order should ["F" , "B" ,"S","C","Z"] --> same order i ve in db
In Datatble By default it's Sorting either [Asc/Desc]
I tried Disabling sorting
Colums.orderable()
"ordering":false , but both didn't worked
if it's disable , records populated in descending order
This discussion has been closed.
Answers
The
orderingandcolumns.orderableonly affect the endusers ability to click and order the columns. Theorderoption sets the initial table order. By default column 0 is sorted ascending. If you want to order the table by how its ordered from the DB then use `order: [],'.Kevin