Questions tagged [ui-grid]

Question about admin grid with uicomponent.

0
votes
0answers
19 views

Magento 2 Set date field as default sort field in Admin Ui Grid Listing

I have created a custom UI Grid with my custom table. I want to sort the grid based on the "from_date" value. I have used the "sorting" field. Now it is working. But when I click the "default view" ...
3
votes
2answers
59 views

Magento 2.3 - Add product name column in custom ui grid with product name filter

I have added product name column in my custom ui grid. In which data displayed properly but not filtered grid by product name. Note : I set product name with comma separated in ui grid column. Here ...
0
votes
0answers
37 views

Magento 2 : How to get selected record from ui form fieldset listing grid in controller?

I have created one UI form with UI grid. When I get params in controller I can not get selected row of UI grid. How to do that? Here is my UI Component layout file. <fieldset name="other_field"&...
0
votes
1answer
45 views

Tooltip functionality in UI grid column Magento-2

I need to add tooltip functionality in UI grid column for Magento-2. When hover on particular record which is available in that particular column then that record's description is display on tooltip. ...
0
votes
0answers
43 views

Export functionality not working properly with EAV UI Grid

I have added Export button on UI grid in my custom module. Module is create with EAV structure. But when i try to export in CSV only ID Column's data is export, Other column's data are missing. I ...
0
votes
1answer
39 views

Magento 2: Admin ui grid inline edit not working

I create admin ui grid and i want to add functionality of inline editable grid. But, it's not working for me. This is my vendor_module_test_listing.xml file code: <item name="editorConfig" xsi:...
1
vote
1answer
236 views

Admin Product View Page Error on Sort Magento 2.3

I am attempting a simple task, to sort the product filter in the admin panel page but I am receiving the error: Something went wrong with processing the default view and we have restored the filter ...
1
vote
1answer
60 views

Magento 2 Debug Ui Grid

i create my custom UI Grid, then i have next problem, my grid is infinity load. Can someone recomend me, how can i debug my problem?
0
votes
1answer
213 views

Magento2: How to use Custom Collection Data in UI Component Grid

I am creating a custom module to show my custom records on grid (using UI component),till now I have Created UI Component, but unable to link up with the Collection. Here is my UI component code: <...
0
votes
0answers
33 views

show-custom-joined-field-in-admin-ui-grid

I am showing custom field in my sales grid using join,i also reffered to Here My Collection Class public function __construct( EntityFactory $entityFactory, Logger $logger, FetchStrategy ...
1
vote
0answers
87 views

How To Open Model Ui Grid Action Click Magento2?

I want Open Modelbox on UI grid action click based on that I want to edit my from in model box so how to achive that functionality ?
0
votes
0answers
116 views

Inline edit not working in grid

I have created a inline edit for a grid. The inline editing is working fine when there is a single row. But if there are more then I'm not able to edit the values and save them. Here is my code. <...
0
votes
0answers
35 views

Getting param of url on dataprovide class

I am having ui grid, I want to filter the data based on the param passed in the url. How can i achieve this?
0
votes
2answers
61 views

How to pass value from controller to /resourceModel/Collection.php class

There are two table t1 and t2 t1 id, name 1, abc 2, pqr t2 id, t1_id, phone 1 , 1 , 7894561230 2, 1 , 7894645125 3, 2, 7445582145 I am having two grids, grid 1 showing the first table. Now if i ...
0
votes
2answers
146 views

How to use addFieldToFilter on ui grid

From them image above you can see the first record does not have name. I want all the record which have name should be displayed and which doesn't have should not be listed in grid. I know how to ...
1
vote
0answers
504 views

Invalid Template error in kendo grid javascript

I am getting error when I am giving this line columns.Bound(c => c.BusinessTypeName).HeaderTemplate("").Title(@Helper.GetResourceString("lbl_DealerName")).ClientTemplate(@"<div style='text-...
1
vote
0answers
54 views

How to insert an ui grid with related records in an ui form

I have inserted a grid in a form and I want to filter the listed records by the form id to show all related records. Ho can I set the filter??? Please help me!! Thats my dataprovider: namespace ...
2
votes
1answer
222 views

Magento 2: Uicomponent grid filter with multiple values as params

in this example <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="update_url" xsi:type="url" path="mui/index/render"/> &...
1
vote
1answer
378 views

How can I merge columns in UI grid in Magento 2

I have two columns in Admin grid. For ex. 1. First Name, 2. Last Name <column name="firstname"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"&...
2
votes
1answer
1k views

Need pass dynamic url param value in massAction url of ui-component grid

I have a massAction on a admin grid which need to pass URL parameter coming on the grid page like http://ashish.local/admin/package_module/rsvp/index/event_id/21/key/...
0
votes
1answer
351 views

UiComponent export button issue, error: “getRowData() must be an instance of Magento\Framework\Api\Search\DocumentInterface” (Solved by myself)

I am using Ui-Component for export button for export grid column with below code: <exportButton name="export_button" /> <argument name="data" xsi:type="array"> <item name="...
1
vote
1answer
548 views

Magento2 UI grid same column problem

I have a problem with pagination in UI Component data grid of Magento2. First time it loads page correctly and pagination works. But on clicking "back" button in paginator all rows change their ...
6
votes
2answers
2k views

Magento 2 add custom filter to grid for date

We have a requirement to add a custom filter for date field. So that we can filter using dateRange filter and also by selecting from a dropdown which has these values (today, this week, tommorow) etc. ...
6
votes
0answers
676 views

How to add dynamic custom column in UI component

I have configured UI component columns in admin grid and its working fine. I need to add custom columns dynamically. For example we can add custom column in __prepareColumns function in Block layout ...