Bind data in List View on button click?

I am working on search functionality. In data view I have bind the page parameter ‘SearchRequest’ and its attribute ‘SearchText’ to textbox on search button click, I am calling microflow that is returning list of non-persistant entity  ‘’GridSearchResult”. How can I bind the returned list from microflow to ListView as it is non persistant entity? I have selected datasource as microflow but I keep on executing infinite times.   My datasource microflow Please guide me how to bind data in list view when search button is clicked.
1 answers

Clicking the search button should only refresh the search object. The nested Listview will then also refresh. The datasource microflow can then make use of the new search helper attributes and you will see the filtered list. The retrieve logic can remain only in the datasource microflow of your list view.