Skip to main content

Questions tagged [dynamic-rows]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

How to pass value of custom dynamicRows select field in category_form.xml

I want to save the data in of a custom dynamicrows field. which i added on admin category page. my custom_form.xml: <?xml version="1.0"?> <form xmlns:xsi="http://www.w3.org/...
section_active's user avatar
1 vote
0 answers
91 views

Adding dataSource to dynamicRows ui component in product_form

I need to add a Dynamic Rows ui component to the admin product_form.xml. I get the ui to work (the html is updated when adding and removing rows). But I cant configure the datasource/dataprovider for ...
Magnus's user avatar
  • 21
0 votes
1 answer
239 views

Magento 2 Add Dynamic Row in admin form using Block

i have created one form in backend using block now i want to add dynamic row field in my custom form using block. how can i achieve that. Thank you in advance.
quickshiftin's user avatar
0 votes
1 answer
47 views

Magento 2 - how can I add 2 dropdowns in the same row?like the picture below

how can i add 2 dropdowns in the same row,how can i add 2 dropdown like the image above
Hải Lương's user avatar
1 vote
1 answer
362 views

DynamicRows component doesn't show saved data on edit form (Adminhtml)

The ui form component works good on "New" action but, if I save this: Then, the edit action shows this: The data is being saved correctly in my custom table after submitting the "New&...
araujophillips's user avatar
2 votes
0 answers
523 views

Show and Hide a field in UI component Form

I want to show and hide a dynamic field in custom UI form based on radio button selection. Can I perform this functionality using magento2 or I have to use Javascript / Jquery for that ? Thanks in ...
Syed Hassan Zamir's user avatar
1 vote
1 answer
1k views

How to load existing data in "Dynamic Rows" in product edit form

I'm adding Dynamic Rows in my product edit form like this. data How can I populate the saved custom data in the edit product page with custom DataProvider?
Arshad Muhammad's user avatar
1 vote
1 answer
513 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 ...
Devidas's user avatar
  • 3,368
1 vote
1 answer
1k 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?
Chirag Prajapati's user avatar
1 vote
0 answers
381 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 ...
sub3er0's user avatar
  • 11
1 vote
2 answers
2k 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="...
AcidBurn's user avatar
1 vote
1 answer
1k views

How to upload image in dynamic rows system config?

I need to add a image field in my dynamic rows system config
Iyo's user avatar
  • 21
0 votes
1 answer
904 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 ...
Chander Shekhar's user avatar
3 votes
0 answers
1k 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 ...
Siranjeevi K S's user avatar
1 vote
0 answers
331 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\...
amitshree's user avatar
  • 7,056
0 votes
1 answer
807 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 ...
amitshree's user avatar
  • 7,056
0 votes
1 answer
283 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->...
amitshree's user avatar
  • 7,056
0 votes
0 answers
568 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 ...
Noman Rauf's user avatar
1 vote
0 answers
163 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 ...
Yogita's user avatar
  • 784
5 votes
1 answer
2k 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:...
Siranjeevi K S's user avatar
0 votes
1 answer
389 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 ...
Florin Aqir's user avatar
0 votes
1 answer
350 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: $...
Juliano Vargas's user avatar
1 vote
1 answer
655 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 ...
Juliano Vargas's user avatar
0 votes
1 answer
418 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 ...
Pushpendra Singh's user avatar
0 votes
2 answers
640 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) ...
Hunter's user avatar
  • 809
1 vote
1 answer
189 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 ...
midhun's user avatar
  • 23
0 votes
1 answer
583 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 ...
Bram Hammer's user avatar
1 vote
1 answer
1k 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; ...
Manjunath's user avatar
  • 177
0 votes
1 answer
354 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 ...
Pawan's user avatar
  • 5,906
2 votes
2 answers
2k 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 ...
user91404's user avatar
0 votes
2 answers
39 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 ...
Litsher - Nathan's user avatar
1 vote
3 answers
2k 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 &...
Zahirabbas's user avatar
  • 2,083
0 votes
0 answers
565 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:...
bugrag's user avatar
  • 1
0 votes
1 answer
334 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 ...
Mahdi's user avatar
  • 113
1 vote
0 answers
176 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"> ...
Алексей's user avatar
1 vote
0 answers
171 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,...
Данил Васильев's user avatar
3 votes
0 answers
259 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 ...
mskhan's user avatar
  • 171
3 votes
0 answers
125 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 ...
D Singh's user avatar
  • 1,144
1 vote
0 answers
191 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 ...
Jay Parmar's user avatar
0 votes
1 answer
364 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:...
naren's user avatar
  • 46
0 votes
1 answer
609 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. ...
Pavel Panchyshnyy's user avatar
3 votes
2 answers
1k 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 ...
chirag dodia's user avatar
  • 2,132
0 votes
0 answers
160 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 ...
carla_bernardin's user avatar
0 votes
0 answers
237 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:
milan's user avatar
  • 29
3 votes
1 answer
2k 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 ...
Arjun Soni's user avatar
1 vote
2 answers
848 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() ...
Sony's user avatar
  • 1,154
0 votes
1 answer
336 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":{"...
stanhook's user avatar
  • 143
0 votes
1 answer
537 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!
Juliano Vargas's user avatar
0 votes
1 answer
1k 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 ...
Juliano Vargas's user avatar
0 votes
1 answer
2k 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\...
Dhara Bhatti's user avatar