Questions tagged [ui-grid]

Question about admin grid with uicomponent.

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

Magento 2.3 - Ui component grid, link with target blank not working

I have a custom module with an admin grid. On this, grid, a column is responsible to show the name of the customer assigned to that specific record. In order to have the customer's name column I added ...
0
votes
1answer
19 views

Magento 2 UI Grid - How to add tabs in columns control?

I want to add Tabs in Columns control of my custom extension’s UI Grid to categorize columns. For Example:
0
votes
1answer
43 views

Magento 2: How to display Customer Name instead of Customer Id in UI Component Form Field?

In Magento 2.3.2, I have created a grid and form to add and edit. In the grid column, I am able to display Customer Name instead of Customer Id with following code. <column name="customer_id" ...
-1
votes
1answer
25 views

UI listing Understanding

What does this line do? <item name="provider" xsi:type="string">order_listing.entity_listing_data_source1</item> <item name="deps" xsi:type="string">order_listing....
0
votes
0answers
24 views

Magento 2 Load UI grid only after filter search

I have created custom module. In that I am displaying product collection in Ui grid. I have extend \Magento\Catalog\Ui\DataProvider\Product\ProductDataProvider to display collections. What is my ...
1
vote
1answer
42 views

Magento 2: Is it possible to add search column in ui component?

How can I add filter row in customer grid just like fixed PHP grid using UI component? I don't want to change any other things of UI component grid.
0
votes
0answers
16 views

What is the correct way to join 2 tables in DataProvider for Admin Grid?

I want to join my order table with the Magento order table to display data on my custom grid. The correct way to add fields to a DataProvider is by using addFieldStrategies and addFilterStrategies via ...
0
votes
1answer
34 views

Admin User Grid Not Showing

After upgrading magento to 2.3.2 I can't see the Admin User Grid anymore. System Log Shows This error [2019-07-01 10:22:00] main.CRITICAL: Item (Magento\User\Model\User\Interceptor) with the ...
0
votes
0answers
28 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
171 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
1answer
104 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
70 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
57 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
108 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
0answers
28 views

Error in admin page Ui grid

1 exception(s): Exception #0 (Exception): Notice: Undefined index: arguments in /var/www/dev-romanl/web/vendor/magento/module-ui/Config/Data.php on line 162 What could it be ? how to fix ? layout....
2
votes
1answer
519 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
90 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
376 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
40 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
94 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
122 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
37 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
63 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
246 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
576 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
66 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
289 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
458 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
390 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
622 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
707 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 ...