Bulk actions
Select records to archive together. Undo brings them back.
View markup
<fieldset class="ex-bulk" data-ex-bulk>
<legend>Draft notebooks</legend>
<ul class="ex-bulk-list" role="list">
<li data-row-id="coast"><label data-bulk-name>Coast walks</label><span>Field notes</span></li>
<li data-row-id="city"><label data-bulk-name>City sketches</label><span>Sketchbook</span></li>
<li data-row-id="woodland"><label data-bulk-name>Woodland walks</label><span>Field notes</span></li>
<li data-row-id="harbour"><label data-bulk-name>Harbour lights</label><span>Photo journal</span></li>
</ul>
</fieldset>Use in a projectUse in a project
Load bulk-actions.css and bulk-actions.mjs with the example. Connect enhanceBulkActions(fieldset, {onCommit}) to save archive and restore actions. Apply them to the selected record IDs and check permissions in your service.
