Jump to content

Remove Row When Unchecked During Bulk Selection On Tabular Report DataPage

Recommended Posts

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:


document.addEventListener('DataPageReady', function (event)
const checkboxes =document.querySelectorAll("input[id*='RCB']");
checkbox.addEventListener('click', function(){ 
if(checkbox.checked == false)
{checkbox.parentNode.parentNode.style.display = "none";} 



}); </script>

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...