List Refresh not removing selected records UI Builder?

Kiran Kumar 76
Tera Expert

Hi Experts

 

when i tried to refresh lisT using property tied to list component

 

api.setState('refreshReq', {timestamp:  new Date().getTime()});

 

i see its refreshing list but the selected records stays the same,how can we eliminate selected values on list refresh

 

 

KiranKumar76_1-1751297067489.png

 

3 REPLIES 3

thomaskennedy
Tera Guru

The list controller has an event handler called Set Highlighted Rows. Try calling that and passing a null.

@thomaskennedy 

 

thanks will check

Syed14
Mega Guru

You can use 'g_list.refresh(1)' function to refresh list of records.