Hello,
I would like to hide 1 or 2 columns of my RG (placed in a reusable element) when my right panel is displayed (also a reusable element) for a better responsiveness. Could you tell me how to do this? I’ve tried the yes/no method, but it doesn’t work.
In your reusable element 1:
In the columns you want to hide, Layout tab: check the “collapse when hidden” option Conditional tab:When: [reusable element 2] is visible Select a property to change when true: This element is visible and the box is unchecked.
I don’t know which property I should put in my RE-compte
Do I have to create a yes/no property and fetch my RE-FG-Filter this way, because I’ve tried but when I then do a when RE-compte visible is yes → this element visible is no and it doesn’t work depending on whether yes or no when my panel opens.
@douzaines.polder-0v since the repeating group is inside of a reusable element and the right panel is a separate reusable element, you will need to make it so the reusable element that stores the RG knows when the side bar reusable element is visible or not, while also building out the functionality, however, since the RG is in a separate reusable, the side bar reusable visibility will not be known.
To solve, put onto the reusable that contains the RG a property, that is of type yes/no and label it ‘sidebar is visible’…then on the RG, for columns to hide, do as @gloriaui mentioned, however, the conditions will reference the property of the reusable.
Then on the page where you put both reusable elements, set on the reusable that contains the RG, for the property value, the dynamic expression of ‘reusable side bar is visible’.