How to put the selected value on top of the list in referenceSelector select page ?

0
Hi Experts,    Im using the referenceSelector field using the select page, my issue is how to put the selected value in top of the list?  I want this selected value on top of the list, how I can implement that kind of behavior? Thanks.   Regards,  Dale
asked
1 answers
1

Hi Dale Dela Cruz

Do you have a boolean attribute to define the selected object?

If yes you can sort the grid by this attribute and the changeDate to set it at the top

If not I recommend you add a boolean attribute called IsSelected and change this attribute value by a MF when you check that checkbox with refresh in client finally sort by IsSelected and ChangeDate descending

Please recommend this as an accepted answer if this solves the issue

Thank You

answered