Can a sidebar be toggled without using the Sidebar toggle button?

0
Is there a way to toggle a sidebar without using the Sidebar toggle button from the layout widgets?   Use case: a page with a datagrid on the main part of the page, and when selecting a row in the datagrid, the sidebar opens with the details of the selected row.
asked
1 answers
0

Maybe use a listen to construction. Add a dataview for the object in the list that listens to the grid and use the visibility expression to only show the dataview when the currentobject != empty. With some additional styling to ensure that space is not used when the dataview is not shown.

Or this component can help out: https://marketplace.mendix.com/link/component/202578 not sure if it is compatible with your verion of Mendix though.

answered