Smart listener widget - Mendix Forum

Smart listener widget

0

I have a listener data view widget for a list view, and that list view had a drop down sort to show items. This works fine, however in some cases I navigate to this page from a context that had an instance of the object shown in the data view.

 

Is there a way for the list view/listener to know which object was selected upon navigating there and have that one pre-selected, rather than the default selection from my list view sort?

asked
1 answers
0

Hi Ben,

You can use the selection helper widget to run a microflow to determine which record to select in a listview. 

I'm not sure how your current page is setup, but you could associate the specific record to a non-persistent entity and pass that to the page.  Then the non-persistent entity will be a parameter in the microflow run by the selection helper widget and you can determine which record to be selected.

https://appstore.home.mendix.com/link/app/27519/

 

Hope this helps!

answered