I have created an updatedable IR with text field and checkboxes using apex collections and a dynamic action. The dynamic action is using jquery Selector and the class of the writeable objects in the IR.
So far so good this is working fine.
But if I change for example the count of row in the IR the dynamic action is not fired anymore. It will work again if I reload the page. I have insert alerts in order to see if the dynamic action is called or not.
Is this a bug or a feature or maybe I made something wrong?
Thanks for your help.
What is the Event Scope of the Dynamic Action? Default is "Static", meaning the DA will be attached to all the objects that match the selector on page load. You probably have to switch it to "Dynamic" (meaning when there are new objects on the page it will fire on those objects as well).
Your on-click dynamic action needs a different event scope. Set it to "Dynamic", and for an IR you can set the static container to "#apexir_WORKSHEET_REGION". This will cause the click-event to register on items that are newly created or didn't exist at the time of the initial bind (page load) (thus, accounts for pagination which essentially replaces a piece of html: the ir report), where the static scope would only perform this bind when it is executed (at page load).