cancel
Showing results for 
Search instead for 
Did you mean: 

Ui5 list after setting the mode to List from delete to multiselect list is not preserving items previous selection.

Former Member
0 Kudos

I am trying to delete the list item for that i have provide button after clicking on that button i am setting the list mode to Delete and after completion of deletion again user is going to click done then i am setting the list in multiselect mode but as i set this mode it i should see the list as it is left before going to deletion, but this is not happening instead it is unchecking all the check boxes. How to preserve the previous selection?

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Manju,

You might need to have one more property in JSON as flag, Will this sample help? Plunker

Working Snippet:

Regards,

Sai Vellanki.

Former Member
0 Kudos

Thanks Sai Vellanki for reply,this is what i wanted

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Manju,

You can also maintain the selected list status by taking the selected list as show in example of jsbin.


You can find the code by clicking here...

Regards,

Naveen Kumar H S