Open jonom opened 9 years ago
This sounds like a good idea.
But what if someone decides to remove the buttons to only use the dropdown bulk edit? Might have to have this as a config option for the component rather than the default?...
Yes good point. A config option sounds good then - perhaps a global setting that can be overridden for individual instances?
This hasn't got much love in years, but now with all the new bulkactions, this could be revived...
Thinking a good option might be too rely on testing the various canXXX
actions on the data object...
I don't know if this is possible but it would be cool if the basic bulk edit actions (unlink,edit,delete) were automatically limited to match what's enabled on the rows.
I.e. if 'unlink' isn't shown on the gridfield then it's not shown in the bulk edit dropdown either.