Hi,
To achieve the functionality of showing Property details when clicking on the Property accordion and showing Unit details when clicking on the Units accordion in Mendix, follow these steps
Accordion Setup:
Data View for Property Details:
List View for Units:
selectedUnit) to the clicked Unit entity.Data View for Unit Details:
selectedUnit context variable.Conditional Display:
not $selectedUnit.$selectedUnit.Handle Accordion Clicks:
selectedUnit context variable to null to hide any previously selected unit details.Refresh the Page: