+ Add post
We would like to have a detail sorted by year and month on page load. Could you please let us know if there is any default sort on details or a client side code to achieve this?
You can edit the page you added the detail to, then modify the details, under the details section of the page code, to add a sort column using sortColumn, sortColumnDirection, and sortColumnIndex.
Thanks much Ryan!
We have a detail called contract value target in contacts section which needs to be sorted by month and year.
I tried the following in the contactsPageV2 schema.
It doesn't seem to work. Is there anything else I need to do?
This is likely because you've added "desc" in lowercase and it should be uppercase (it's case-sensitive). Choices are: