PHP 7.3 reached end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in September 2022. You may want to consider planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.
ColumnsEditingBulk component
The ColumnsEditingBulk UI component is an extension for the ColumnsEditor component. It provides the bulk update functionality.
Configuration options
Option | Description | Type | Default Value |
---|---|---|---|
template |
The path to the component’s .html template. |
String | 'ui/grid/editing/bulk' |
active |
Whether multi editing is active. | Boolean | true |
component |
The path to the component’s .js file, relative to RequireJS. |
String | Magento_Ui/js/grid/editing/bulk |
Sources files
Extends record
:
- app/code/Magento/Ui/view/base/web/js/grid/editing/bulk.js
- app/code/Magento/Ui/view/base/web/templates/grid/editing/bulk.html
Examples
Integrate the ColumnsEditingBulk component with the ColumnsEditor component
This is an example of how the ColumnsEditingBulk component integrates with the ColumnsEditor component:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<listing>
...
<columns name="columns">
<settings>
<editorConfig>
<param name="bulkConfig" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/grid/editing/bulk</item>
<item name="template" xsi:type="string">ui/grid/editing/bulk</item>
</param>
<param name="bulkEnabled" xsi:type="boolean">true</param>
<param name="enabled" xsi:type="boolean">true</param>
</editorConfig>
</settings>
...
</columns>
</listing>
Result
Disable the ColumnsEditingBulk component on the ColumnsEditor component
This is an example of how the ColumnsEditingBulk component disables the ColumnsEditor component:
1
2
3
4
5
6
7
8
9
10
11
12
<listing>
...
<columns name="columns">
<settings>
<editorConfig>
<param name="bulkEnabled" xsi:type="boolean">false</param>
<param name="enabled" xsi:type="boolean">true</param>
</editorConfig>
</settings>
...
</columns>
</listing>