‎2018 Oct 19 9:25 AM
Hi all,
I have a question about CRM Web UI table sorting by date.
I tried to sort descending, but looks like it would be sorted alphabetically.

Coz Web UI has a standard function to sort, so is there anyway to solve it?
‎2018 Oct 19 10:21 AM
Hello Eric,
You need to implement IF_BOL_COL_SORTING interface, and pass a instance of it into the SORT method call, parameter IV_SORT_CALLBACK.
If "Web UI has a standard function to sort" means the sorting options which shows when you click the column header, then you need to redefine EH_ONSORT method in the controller if you are in a Result view of a search page, or EH_ON_SORT in the context node if you are in any other kind of view.
Regards.
‎2018 Oct 19 10:21 AM
Hello Eric,
You need to implement IF_BOL_COL_SORTING interface, and pass a instance of it into the SORT method call, parameter IV_SORT_CALLBACK.
If "Web UI has a standard function to sort" means the sorting options which shows when you click the column header, then you need to redefine EH_ONSORT method in the controller if you are in a Result view of a search page, or EH_ON_SORT in the context node if you are in any other kind of view.
Regards.