This question is locked. New answers and comments are not allowed.
How can you specify a default sort order in such a way that in case the user changes the sort order and then edits a field, the sort order is not returned to the default order?
I use server binding and currently just specify
When editing something my controller simply redirects to my view which then of course is reverted to sorting by name. How can I retain the user specified sort order?
On another note: The grid does not seem to display the records in the order they are delivered from the database when no sorting option is applied, why is that ?
I use server binding and currently just specify
.Sortable(s => s.OrderBy(o => o.Add(b => b.Name)))When editing something my controller simply redirects to my view which then of course is reverted to sorting by name. How can I retain the user specified sort order?
On another note: The grid does not seem to display the records in the order they are delivered from the database when no sorting option is applied, why is that ?