Multi-level selection in Mendix

0
Dear all, We would like to build a multi-level selection. When user selects level 0, level 1 has been filtered, then user select level 2, the level 3 options has been filtered. Is it possible to implement this multi-level chain filtering in Mendix? At least 4 levels. Domain Model: UI: Regards, Che
asked
4 answers
1

Hey Ying,

Its possible, what you have to do is, on change of level 0 you have to refresh the data view,

Then in the ' selectable object ' tab of level 1, you can set the level 0 object,

And then, apply an on change on level 1 which again refreshes the data view, 

Now in level 3 use microflow which retrieves the level 1 from level 0 and level 2 from level 1..

This way you can go as much deep as you want 

 

Hope it helps!

answered
0

Just for asking, the data source of the data view should be a microflow? is it correct?Just for asking, the data source of the data view should be a microflow? is it correct?

answered
0

May I ask how to set the page param? I always got an error that is no arguments support of the page.

answered
0

You are looking for the constrained by function. See the documentation here: https://docs.mendix.com/refguide/reference-selector/ section 2.9.2. Then you do not need microflows at all.

 

Regards,

Ronald

 

answered