Experts,
I have a model named “Unread Alerts”.
I have added fields to order like shown below:
Which works fine when page loaded.
But, the requirement is, we need to provide a picklist to user :
- Sort By CreatedDate
- Sort By Priority
- Sort By Something Else
Whenever the user pick one of the options above, we need to refresh the table order by the selected field.
How to dynamically change table data by ordering per the field selected ?