Bulk Editor

This add-on is designed to allow users to change attribute values for multiple entity instances at once.

It provides an action that opens a dialog where the user can enter attribute values. After that, the action updates the selected entities in the data store and in the UI.

Installation

For automatic installation through Jmix Marketplace, follow instructions in the Add-ons section.

For manual installation, add the following dependency to your build.gradle:

implementation 'io.jmix.bulkeditor:jmix-bulkeditor-starter'

Usage

The type of action provided by the add-on is bulked_edit. It is a list component action, so it can be added to dataGrid and treeDataGrid.

Usage example:

<hbox id="buttonsPanel" classNames="buttons-panel">
    <!-- ... -->
    <button action="booksDataGrid.bulkEdit"/>
</hbox>
<dataGrid id="booksDataGrid" dataContainer="booksDc" columnReorderingAllowed="true"
            selectionMode="MULTI">
    <actions>
        <!-- ... -->
        <action id="bulkEdit" type="bulked_edit"/>
    </actions>

To be able to select mulitple entities, set selectionMode="MULTI" for dataGrid.