-
I just learned that if the data has the same values for a column (e.g. a date field), the rows can be returned in any order, from one sort to the next. So, this inconsistency has caused some rows to appear from one page to the next (via server-side paging). To fix this issue, I need to provide a field where the ordering does not change, and where each row is uniquely identified. So, my question is how do I make a specific field (e.g. the ID column) as always the last column to be sorted? For example, if the user selects the date column to be sorted, then the query will sort by date, then by ID. In my DataTable code, I have the following method, but I am not sure if this is the place (or how) to make this happen:
Any pointers or advice would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think what you need is orderFixed |
Beta Was this translation helpful? Give feedback.
I think what you need is orderFixed