You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, in my company I implemented an ad-hoc "Batch operations" feature, and I'm thinking about backporting it to crudlex
In my case we wanted to delete all selected entries, but that could be extended for example to have a CSV export
What could be a good api for this?
first draft in pseudo-code
$app['crud']->addBatchOperation(new MyCrudlexBatchOperation())
class MyCrudlexBatchOperation extends BatchOperation
fun support(EntityDefinition definition) => true or false
fun label => "CSV Export"
fun handle(EntityDefinition definition, List<Entity> entities) ---> do the csv export
including a "select all" checkbox on top and bottom for the whole page.
The first use case would be to delete the selected items.
The text was updated successfully, but these errors were encountered: