Hide checkboxes if mass actions are hidden

  • 4
  • Idea
  • Updated 1 year ago
As of 11.0.8, if you have a single Mass Action on a table, even if that mass action is hidden due to rendering conditions, you will see the checkboxes next to table rows. Would be great if those checkboxes disappeared when all mass actions are hidden. 

in screenshot below, flag selected rows for deletion is the only mass action, and it is hidden from non-admin users, but the checkboxes are still there. 

admin users get the mass action:
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,928 Points 5k badge 2x thumb

Posted 1 year ago

  • 4
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,996 Points 20k badge 2x thumb
Any of your fields setup to aggregate?
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,928 Points 5k badge 2x thumb
Nope. And Show Export Button is not checked. Are you able to hide the checkboxes if all your mass actions are not rendered?
Photo of Matt Small

Matt Small

  • 1,182 Points 1k badge 2x thumb
You could just block with CSS?

.yourcheckboxelement {
display: none !Important; 

Photo of Chandra V

Chandra V, Champion

  • 7,300 Points 5k badge 2x thumb
Just want to say that we use this behavior on purpose ... create a mass action just to get checkboxes to show up, then we hide the action because we want the checkboxes.  Our users select the rows they want and then we use a button set to process the action - we didn't really like the mass action buttons not being visible.

So if it does change, please give us the option.  :)
Photo of Conlan O'Rourke

Conlan O'Rourke

  • 4,004 Points 4k badge 2x thumb
+1 from me. I've had to use CSS to hide those checkboxes many times. Seems like they should just natively disappear when no mass action buttons are present.