Questions tagged [ui-grid]

Question about admin grid with uicomponent.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Display custom column in Invoice grid using join

I have custom moudule with custom table and tried to join it with invoice grid table to show it in invoice grid.But it is not working as it should.Here is what i have tried. adminhtml/di.xml <type ...
0
votes
1answer
75 views

Magento 2.3 dynamically add columns to ui grid component

I have an admin form created via an XML component which inserts a listing via the insertListing component. This listing takes data from a custom table I created for this module. The listing works: I ...
2
votes
0answers
13 views

Magento 2: How to fetch UI Grid Component using data from external REST API

I wanna know how to fetch data into a UI Grid using external data retrieved from a REST API. Anyone has a step by step solution to achieve this?
1
vote
2answers
54 views

Values for checkboxes not coming through on save for admin form ui grid

I've created a grid under a tab in an admin UI form. But I'm having trouble saving the checkbox change values. I can't catch the tab checkbox values on form submit in the controller. Only the values ...
0
votes
0answers
12 views

magento 2.3 ui grid massaction multiple indexes/values

I have an admin ui grid with a mass action that works fine: if I select an item from the list and go to actions > my action, I can log the selected item, something like: 'selected' => array ( ...
1
vote
0answers
15 views

Date are preserved even after clear filter in Magento 2 UI grid

On the order grid, I have applied the 'Purchase Date' filter which is working fine. But after press the 'Clear all' link and apply the filter again. The date is preserved in date related filter (...
0
votes
0answers
5 views

How to get Customer Grid in UI Component popup model?

I am developing a custom module where I need to relate the customers like a parent, child which is like adding a related products on the product page. Can anyone help to achieve this?
1
vote
0answers
109 views

magento 2.3 use core tables to custom module grid

I have a custom module with a custom table and I've created a ui component grid to show its data in Magento backend. This works fine. Now I need a second admin grid were to show a collection of order ...
1
vote
0answers
100 views

Magento 2 Mass Delete Cannot read property 'total' of undefined

I tried to perform mass delete on my custom UI grid but it gives me error in console "Cannot read property 'total' of undefined" i don't understand whats wrong with my code, my gride code is given ...
1
vote
0answers
22 views

Adding date_created to catalog/product admin grid

I want to add the date on which a product was created to the default product admin grid. I've created a module under app\code\Vendor\Module with: ./etc/module.xml <?xml version="1.0" encoding=...
0
votes
1answer
382 views

Magento2: Showing custom table data as options for select dropdown in UI component grid form

I have a UI grid form in the admin, that allows the admin to edit the data in a grid. The grid is listing data from a custom table multivendor_pickupinstore with structure below: id seller_id ...
1
vote
0answers
36 views

Magento 2: How to display a grid inside the customer edit tab using ui component?

Display a form and grid using ui-component inside customer edit tab on Magento2.
1
vote
1answer
48 views

Magento2: How to add product images to custom ui-component admin grid

I have a custom grid using ui component method in back-end to show data from a custom table with columns as follows: id product_id user_id store_ids status adminassign created modified ...
0
votes
1answer
146 views

Magento 2 : Custom column filter with serialize data in UI grid

I added product name column in my module ui grid. In my database, it's save product id. I display successfully product name in column by product id. But, filter not working when I search by product ...
3
votes
0answers
158 views

Magento 2: Spinner kept running and not showing data after creating custom admin grid

I checked a few answers before asking this question, I am new in Magento2 and learning from udemy course, I am sharing screenshot as well as my code: affiliate_member_listing.xml path:magento/app/...
0
votes
0answers
170 views

How to open UI Grid Modal on a UI Grid row column button action?

Note: After searching a lot, I have tried myself and came up with a working solution. Kindly check the answer at https://magento.stackexchange.com/a/292029/59216 I am not removing my question as it ...
0
votes
0answers
168 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 ...
1
vote
1answer
31 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
524 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
28 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
92 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
101 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
1answer
93 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 ...
3
votes
2answers
688 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 ...
1
vote
1answer
684 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
200 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
64 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
421 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
56 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....
4
votes
1answer
2k 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
211 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?
2
votes
1answer
1k 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: <...
2
votes
0answers
115 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
164 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
40 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
87 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
3answers
509 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
729 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
92 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
734 views

Magento 2: Uicomponent grid filter with multiple values as url params

In this example <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="update_url" xsi:...
1
vote
1answer
729 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
2k 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
579 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
848 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. ...
7
votes
0answers
830 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 ...