To continue on this topic, is there a way to dynamically change the Data View source of a binding.
Case in point, I have made 4 Data Views from a Server Connect. All good there.
Now I also have made 4 collapses, which are all the same but connected to each Data Views, and each collapse shows on a button click.
Each look like that:
Not the most efficient, especially when making updates x 4.
Is there a way to switch the dmx-bind source to a single collapse on the button click, instead of showing/hiding each of the 4 collapse?
Thank you
Right and that’s great. But it still requires having 4x pretty complex regions in the code, exactly the same for each repeat bound to each of the 4 Data Views. I’m trying to not have to do 4x any change I make to the repeat region.
By having 1 repeat, and changing the dmx-bind:repeat="" dynamically changed on click, I can avoid the 4 x same code above.Is there a way to do that?
I created 4 Data Views. They have different filters, ex below isBooked = 0 or = 1
If I only need one and there is a way to dynamically change the filter onClick of a button, great, how is this done?