Questions tagged [dynamic-rows]

Denotes questions about the using of the `dynamicRows` Magento 2 ui-component.

Filter by
Sorted by
Tagged with
1 vote
1 answer
58 views

In dynamic rows wysiwyg editor field not properly delete in magento 2?

When I added 2 or multiple dynamic rows and then delete the first row the 1st-row editor field was not deleted. check below images Before delete After delete 1st row The 1st-row editor value should ...
user avatar
  • 3,111
0 votes
0 answers
11 views

How to get attributes based on attribute set in dynamic row?

I have created dynamic rows and there I have two fields. 1st field is I am listing out the attribute sets and in the 2nd field I need to show the attributes based on the attribute set. How can I set ...
user avatar
  • 480
0 votes
1 answer
54 views

How to create row pattern/dynamic rows to the custom category attribute Magento 2

How can we create a Dynamic Row/Row Pattern Attribute on the Category page?
user avatar
0 votes
0 answers
37 views

How to make a dynamic row column another dynamic row in stores -> configuration

i am trying to make dynamic row field type another dynamic row, it is possible in form, i already have a example, but in ui_component form like this in form it is made by xml, but in stores ...
user avatar
0 votes
2 answers
332 views

Add dynamic rows (No UI Component) block, into the custom widget

I need to add dynamic rows into the custom-made-widget, without uiComponent. I have a system.xml with the block: <section id="general" type="text"> <group id="...
user avatar
0 votes
0 answers
50 views

magento 2 dependent dynamic rows

On my system.xml file I have a dynamic row type field. Each row has two dropdowns. The first dropdown lists all available countries and this works fine. My problem is the second dropdown: it should ...
user avatar
  • 129
0 votes
1 answer
131 views

How to upload image in dynamic rows system config?

I need to add a image field in my dynamic rows system config
user avatar
  • 11
0 votes
1 answer
375 views

Magento 2 Dynamic rows with upload image in admin module not in system configuration

I have created a custom module which have dynamic rows. I have added Image field there with dropdown and some other text field. But when I am trying to save input type file is not getting in post ...
user avatar
0 votes
0 answers
24 views

Add Ui Dynamic forms to Custom Variables module

I want to add UI dynamic rows for Custom Variables module. https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/ui-dynamicrows.html You can see here: magento-site.com/admin/admin/...
user avatar
0 votes
0 answers
115 views

Magento 2: Get dynamic row values in new/edit product page

I have created a custom matrix for every product on product add/edit page. I have created this by using below link (form modifier) https://magento.stackexchange.com/a/272729/47715 Now I want to ...
user avatar
2 votes
0 answers
347 views

How to add dynamic rows with drag and drop option in generic php form?

I am trying to create a drag and drop dynamic rows field in admin php forms. I created that form using "Magento\Framework\Data\FormFactory" I can able to create a normal field like below ...
user avatar
1 vote
0 answers
98 views

Delete button not working in dynamic rows

I have added dynamic rows using generic block method. <?php namespace Vendor\Module\Block\Adminhtml\Blocks\Edit\Tab; use Magento\Backend\Block\Template\Context; use Magento\Config\Block\System\...
user avatar
  • 6,707
0 votes
1 answer
270 views

How to show uploaded image in dynamic rows?

I have added image field in dynamic rows like below $this->addColumn( 'image', [ 'label' => __('Image'), 'renderer' => $this->getImageRenderer() ]); private function ...
user avatar
  • 6,707
0 votes
1 answer
76 views

How to add custom style from _prepareArrayRow(\Magento\Framework\DataObject $row) function?

I have added a color picker in dynamic rows using below code: protected function _prepareToRender() { $this->addColumn( 'color_code, [ 'label' => __('Color Picker'), 'renderer' => $this->...
user avatar
  • 6,707
0 votes
0 answers
205 views

Magento 2 Dynamic row edit issue

I am facing an issue on the edit page with the dynamic row. I added two dynamic row blocks. One block for global off days and one is for Postal code delay days. In both containers, I added a date ...
user avatar
1 vote
0 answers
78 views

Show thumbnail image via Data Provider in Dynamic Rows in admin form magento 2

How can I show image thumbnail (edit form) for dynamic rows created by Magento's Row Pattern using Data Provider / Modifier. Like this link: Magento2 How to add row pattern/dynamic rows to the custom ...
user avatar
  • 749
1 vote
0 answers
335 views

Magent 2.4.2 Dynamic rows in edit form (ui components)

i have a little problem with display saved values in dynamic rows. Code below. EDIT FORM <?xml version="1.0"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
user avatar
  • 11
4 votes
1 answer
573 views

Magento 2 - Unable to add record in dynamic rows in admin product edit page

I am trying to add a dynamic row fields in admin product edit page. I tried the below code in my product_form.xml file. <?xml version="1.0" encoding="UTF-8"?> <form xmlns:...
user avatar
0 votes
1 answer
131 views

Dynamic row autoincrement column Magento 2

I have a new module created by me. Here, I've followed this tutorial: https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/dynamic-row-system-config.html In this table, I want a column ...
user avatar
0 votes
1 answer
90 views

Magento2.3.5 Disabled dynamic row system field

How can one add a disabled attribute to an input field in dynamic row system ref: https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/dynamic-row-system-config.html What I've tried: $...
user avatar
0 votes
0 answers
93 views

Magento2.3.5 Dynamic Row Add New Column Removes Current Fields

I've added 4 dynamic row while back ref:https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/dynamic-row-system-config.html Now I've added a 5th column but all the row data that was ...
user avatar
0 votes
1 answer
199 views

WYSIWYG Editor Issue in UI Component multi row not working

I have created dynamic rows with multiple descriptions filed(1 In a row) with the WYSIWYG editor. Editor showing and working with first one-row element and rest element which added by adding more it's ...
user avatar
0 votes
2 answers
325 views

Magento 2.4 get value of Dynamic Rows for Ajax [closed]

I've got a form that uses ajax to submit data. I recently added a dynamicRows component to the form and using ajax doesn't appear to be as straight forward. What I was using (on Non DynamicRows input) ...
user avatar
  • 731
1 vote
1 answer
54 views

How to show ui dynmaic row saved values in edit form magento2

I am facing an issue with dynamic rows in ui form...created a form with dynamic rows and saved successfully but in edit form the saved values of dynamic rows not displaying...how can i solve this ...
user avatar
  • 23
0 votes
1 answer
89 views

UI form dynamicrows can only add one row?

I got a weird error and I can't seem to figure out how to solve it. I create a dynamic row within a ui form. All this works as supposed. BUT, when i create a add a record i can only add one... So the ...
user avatar
1 vote
1 answer
571 views

Set Limit for Dynamic rows UI Component in magento 2

I have used Dynamic rows in product edit form. Here is my DataProvider class code use Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AbstractModifier; use Magento\Framework\Stdlib\ArrayManager; ...
user avatar
  • 135
0 votes
1 answer
142 views

system config dynamic row change save style

Using tutorial I have managed to add dynamic rows with 2 column: 1 - Customer Group 2 - Price for customer Both fields showing in system config and saving as well. issue is when I check in database it ...
user avatar
  • 5,346
2 votes
2 answers
1k views

Magento 2 dynamic rows add row not working

I'm trying to add dynamic rows in the product edit page. I have successfully added a dynamic row UI component; the problem is the 'Add' button is not working after one row is inserted. Thanks! this is ...
user avatar
0 votes
2 answers
26 views

Magento 2.1.9 can't find save button class

I am trying to get a save button on a dynamic row field to fire but on loading a CMS page I get the following error: Class Brancom\PageExtensions\Block\Adminhtml\DynamicRows\Edit\SaveButton ...
user avatar
1 vote
3 answers
852 views

Dynamic row in magento admin form with generic class

I am trying to add dynamic row using generic form class and it show like below. But the problem is that this value is not posting data. Here is how i have implemented this. DynamicDiscount.php &...
user avatar
  • 2,038
0 votes
0 answers
277 views

Cannot read property 'id' of null error when click delete button in dynamic rows

error when I click on delete button in dynamic rows. etc/adminhtml/di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
user avatar
  • 1
0 votes
1 answer
234 views

magento2 add or update items of a row builder widget programmatically

How can i add/update items of a row builder widget when clicking on a button? I have a button in my page, and i want to update a row builder widget when a user clicks on it. The button will send an ...
user avatar
  • 13
1 vote
0 answers
64 views

How set unique ID in dynamicRow?

I have field in dynamicRows: <field name="on" component="Magento_Catalog/js/form/element/checkbox" sortOrder="0" formElement="checkbox"> ...
user avatar
1 vote
0 answers
105 views

Review form - dynamic rows

I need to add dynamic rows to review form, the problem is that the form is not defined in xml, but in php class \Magento\Review\Block\Adminhtml\Edit\Form, i cannot find how to add dynamic rows via php,...
user avatar
2 votes
0 answers
112 views

Magento 2 nested dynamic rows uicomponent

I want to use nested dynamic rows components. I have 3 sections. Items 'Add Item' button to add Item section. Ingredients (inside Item) Each Item section can have one or more Ingredient sections ...
user avatar
  • 151
3 votes
0 answers
98 views

Add color picker in system.xml in serialized grid in Magento 2

I want to assign the color code to a particular customer group by the system.xml file. I have successfully created the grid, but I am facing difficulty adding the color picker in the color column of ...
user avatar
  • 1,106
1 vote
0 answers
146 views

How to add dynamic row in grid edit form in custom module in magento 2

can any one idea for how to add dynamic row in add grid data form in Magento 2 I want to manage the app screen section for example in one section i add multiple banner data so how can i mange it i ...
user avatar
0 votes
1 answer
245 views

Unable to upload a file from UI component using dynamic rows in magento2.3.1

My UI component form fieldset <field name="file"> <argument name="data" xsi:type="array"> <item name="config" xsi:...
user avatar
  • 36
0 votes
1 answer
221 views

Dynamic rows grid. Position element is not initiating

Continuously appearing problem with the position element of the dynamic rows component if we wanna use drag&drop feature. For reference I use a Related Products rows grid at the Product edit form. ...
user avatar
3 votes
2 answers
627 views

Magento 2 DynamicRow not working properly in Admin Product Edit Page

I'm trying to add dynamic rows in the product edit page in adminhtml. I'm using Magento 2.3.4. I have successfully added a dynamic row but the problem is the 'Add' button is not working after one row ...
user avatar
  • 2,042
0 votes
0 answers
108 views

How to customize ImageUploader component?

I am currently using an ImageUploader in a dynamic rows element. However, I have a couple of obstacles I need to overcome: 1) How to remove the "Upload" button? 2) When using the "Select from ...
user avatar
0 votes
0 answers
170 views

Magento2 - How to add row pattern/dynamic array serialization rows to the custom product page?

How to add Custom Row and Add Value Dynamic array in serialisation rows? Here I have attached the screenshot:
user avatar
  • 19
1 vote
1 answer
980 views

Magento2- Dynamic row system config store data in database but after save not display in backed

My config file after save config data After save data It also show error in console as there is no any field after save data it does not give me unserialaize data my php file to render data in ...
user avatar
1 vote
2 answers
635 views

Image Uploader in Dynamic Rows Ui Component not saved since Magento 2.3.3

I made a module using dynamic rows component with imageUploader field inside. I was able to upload my image on the Magento 2.3.2, but since the new release (2.3.3), I can't pass the valideFileId() ...
user avatar
  • 1,115
0 votes
1 answer
205 views

Magento 2 How to get serialized data and use in Dropdown Box

I am using Dynamic Rows in a module that saves data to the core_config_data table like this: {"_1564763325005_5":{"addresses":"123 My Street, Bldg. 1, Reno, NV 85234"},"_1566830530708_708":{"...
user avatar
  • 121
0 votes
1 answer
372 views

Magento 2 Dynamically Add file uploader in system config

How to add a file uploader render in a dynamically added rows? something like: But in dynamically added Like: Let say before or after drop down and the input text field? Best!
user avatar
0 votes
1 answer
686 views

Creating a dynamic row file upload and drop down option in system config

I've checked the example here: https://devdocs.magento.com/guides/v2.3/ext-best-practices/tutorials/dynamic-row-system-config.html Which add text inputs, But how to add other types of input such as ...
user avatar
0 votes
1 answer
1k views

Magento 2.3.1 UI Component Dynamic Rows, "Is Default" is not getting saved

I have created a dynamic form using Dynamic Rows in UI component form as shown in following screenshot: Following is my code samples for your reference: Namespace\ModuleName\view\adminhtml\...
user avatar
2 votes
1 answer
652 views

Complex UI component, using dynamic rows in admin, for a product attribute, is not saving when removing all rows

I created a complex product attribute entry in product admin, which uses dynamic rows. Same idea as this core one: UI works fine, but if you remove all rows, and save, the attribute does not update, ...
user avatar
  • 9,796
0 votes
1 answer
468 views

Magento2 Dynamic Rows not providing position with data array

I have created a dynamicRows component for Customer Edit Form. For some reason, if I set visible to false on the field "position", when I submit a new record, the position is never part of the data ...
user avatar