2
Try to extend the default javascript for dynamicRows component vendor/magento/module-ui/view/base/web/js/dynamic-rows/dynamic-rows.js and assign it to your component with
'component' => 'Your_Module/js/extend-dynamic-rows',
Here try to override the function processingAddChild like magento does in the core vendor/magento/module-ui/view/base/web/js/dynamic-...
1
I found the answer and feel a bit stupid :) haha
It was a combination of things...
<item name="layout" xsi:type="array">
<item name="type" xsi:type="string">tabs</item>
</item>
<!--<item name="template" xsi:type="string">templates/form/collapsible</item>...
1
Solution given below works magento opensource 2.3.3 and above (tested)
It will work, set actionDisable node to true to disable the MassAction from the dropdown list of actions
<actionDisable>true</actionDisable>
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
1
Add below code in view/adminhtml/ui_component/yourxmlfile
Add this code below closing of </datasource>
Then run cache flush, and upgrade commands
<listingToolbar name="listing_top">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
...
1
After Magento 2.2 you can add a searchable dropdown using the below code.
<field name="category" sortOrder="50" formElement="select">
<argument name="data" xsi:type="array">
<item name="options" xsi:type="object">Namespace\Modulename\Model\Source\Category</...
1
even though it's a bit late, here is the way how to use resizeDefaultWidth.
Make sure you added the component ColumnsResize : https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/ui-columns-resize.html
On the documentation above, you can see this config :
<argument name="data" xsi:type="array">
<item name=&...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
uicomponent × 1125magento2 × 878
grid × 163
magento-2.1 × 133
adminform × 100
ui-form × 97
adminhtml × 92
admin × 88
knockoutjs × 69
magento2.3 × 66
magento2.2 × 50
forms × 49
javascript × 48
checkout × 36
xml × 31
layout × 30
filter × 29
data-provider × 29
dynamic-rows × 28
ui-grid × 23
module × 21
collection × 21
product × 20
requirejs × 20
php × 17