cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 - How to fiter List data with growing threshold when "updateFinished" event is triggered

nikos_c
Explorer
0 Kudos
504

Dear experts,

I have the following business requirement.

I have implemented a sapui5 List entity with the Growing Features.

All data has been created and added to a model.

However, the business wants to have an extra button in order to filter the data on the list.

I have implemented a button that does a filtering on the data displayed on the list.

However, then the user presses the "more" button in order to load more data, i do the following:

- On the updateFinished event I call my function in order to apply the filter to all the visible data again (on the binding of the items of the list).

- The result is the following: The filter is applied and shown on the screen but the screen in rendered again and actually discards my previous filtering, thus showing the extra data without any filters.

Could you advise me on what I should do?

Thank you very much in advance,

Best,

N.

View Entire Topic
Dipankar
Participant
0 Kudos

Hi @nikos_c ,

Why cant you store the filter selection and after the user selects more and the page is re-rendered you add the selection. 

Let me know your thoughts. 

Thanks DM