futurist Posted February 17, 2023 Report Share Posted February 17, 2023 I have a Tabular Report DataPage with the Bulk Edit/Delete option enabled. I want to add an additional event for each of the bulk checboxes for each row so that if I uncheck one of them, not only will they be excluded from the Bulk Action, I also want them to disappear from the DataPage (they'll only disappear and not get deleted on the table so if the DataPage is refreshed, they will show up again). I was able to achieve this using JavaScript. Paste the following code on the Header of the Results Page: <script> document.addEventListener('DataPageReady', function (event) { const checkboxes =document.querySelectorAll("input[id*='RCB']"); checkboxes.forEach(function(checkbox){ checkbox.addEventListener('click', function(){ if(checkbox.checked == false) {checkbox.parentNode.parentNode.style.display = "none";} }) }) }); </script> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.