Create a ui action on related list when clicked the related list should be sorted

Omkar Kumbhar
Mega Sage
Mega Sage

Hello Friends,

I have one requirement where I need to create a ui action on related list.

When the user clicks on this button the related list should be sorted.

Customer dont want to use OOB sorting when we right click we can option A to Z and Z to A.

If anyone has any script to sort the data it will be helpful for me.

Thank you,

Omkar

If I was able to help you with your case, please click the Thumb Icon and mark as Correct.
1 REPLY 1

Mark Manders
Mega Patron

They do know that you don't have to use right click, but you can just click on the header to sort it and clicking another time sorts it the other way around? 

This sounds like a requirement that doesn't make much sense. Clicking the column header does exactly the same as clicking a button that you need to configure in a weird way.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark