Here is a problem I am trying to solve:
I am trying to allow the user to control the number of panel states on a dynamic panel. The issue I am running into is that it leaves a blank space (from the last state) once I hide the chosen state then pull the next item. My guess is that the hide/show/pull only hides/pull the item inside the state, but does not remove the state itself. I do need it to be able to wrap around so I assume it would have to be a dynamic panel.
Is each of the panel states the same or alike? In this case you could use a repeater instead of a dynamic panel. And you could reduce the number of items displayed per page to one and mimic the behavior of a dynamic panel this way.
It is quite easy to let the user manipulate the repeater items.
I did use a repeater before but I couldn’t figure out how to populate one repeater from another repeater. Or is there a way to have a centralized dataset that can populate multiple repeaters at a time? I will also need to get inputs from on repeater and then display it in another repeater.
Basically the project I am working on is a rating system for employees with the following functionalities: a carousel to display working employee badges (this is where the rating will happen),results page to count the ratings received, employee schedule to control which badges are displayed.
I am still exploring “easier” ways to do it while learning more about repeaters.
It sounds like you’d like the widgets within your dynamic panel states to push/pull other widgets outside of the dynamic panel itself–is this right?
Since push/pull interactions in a dynamic panel will only affect the widgets within that same panel state, you’ll need to use a workaround for this that involves hiding the outer dynamic panel, triggering the push/pull interaction inside the panel, and then showing the panel again. Hiding the dynamic panel allows the the panel to adjust its size to fit the state of the content within it, and then showing the panel again will push/pull the widgets outside of the panel according to this new size. If you’re interested, Jane’s forum post discusses this workaround in a little more detail:
If this wasn’t quite what you were looking to do, would you be able to post a copy of the RP file you’re working with, or maybe an example file? If you’d prefer not to post your file here, you can always send it to us in an email to firstname.lastname@example.org!