Questions tagged [ui-grid]

Question about admin grid with uicomponent.

Filter by
Sorted by
Tagged with
1 vote
0 answers
104 views

Filtering ui grid by using filter_url_params, making filters visible

I need to pre-filter a UI component grid based on parameters passed by url so I'm using the filter_url_params in the xml definition of the UI component. It's working great, but when you put a ...
Javier C. H.'s user avatar
0 votes
0 answers
482 views

Magento 2 Add Custom date filter in UI Grid

I have created a custom grid for my custom table. It has a created_at column. Now I want to filter the entries by 7 days, 30 days, 90 days. ie, a dropdown with options 7days, 30 days, 90 days. How do ...
Jancy Abraham's user avatar
0 votes
1 answer
131 views

Hide Ui column in grid on default load

I am trying to hide some column as it has very long list of column so it display vertical scrollbar and it don't look nice.So is there any way to hide it on default grid load. it should be visible in ...
magento stacker's user avatar
1 vote
0 answers
808 views

Magento 2 custom ui_grid filterSearch issue

I have an error when attempting to search for a keyword in my custom table In Network tab, i have a call to https://mylocalsite.local/admin/mui/index/render/?namespace=my_grid&search=123&...
Robert's user avatar
  • 43
0 votes
1 answer
15 views

Form is not executed in admin panel form url show too many redirects error i give link in body

link form is not visible and give too many redirects error
Ankita's user avatar
  • 1
0 votes
1 answer
546 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 ...
Zaheerabbas's user avatar
  • 2,068
0 votes
1 answer
1k 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 ...
Lou Nik's user avatar
  • 373
2 votes
0 answers
104 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?
Jean Almeida's user avatar
1 vote
2 answers
797 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 ...
Dominic Pixie's user avatar
1 vote
1 answer
321 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 (...
D Singh's user avatar
  • 1,134
1 vote
0 answers
412 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 ...
Lou Nik's user avatar
  • 373
2 votes
0 answers
461 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 ...
Arjun Soni's user avatar
1 vote
0 answers
60 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=...
Caius's user avatar
  • 11
1 vote
1 answer
2k 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 ...
coderaiseR's user avatar
1 vote
0 answers
85 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.
user83013's user avatar
1 vote
1 answer
180 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 ...
coderaiseR's user avatar
0 votes
1 answer
1k 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 ...
Ankita Patel's user avatar
3 votes
0 answers
559 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/...
user avatar
1 vote
1 answer
226 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:
Sagar Vasani's user avatar
1 vote
1 answer
2k 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" ...
Sagar Vasani's user avatar
-1 votes
1 answer
37 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....
Avesh Naik's user avatar
  • 1,171
0 votes
0 answers
242 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 ...
David Coder's user avatar
1 vote
3 answers
1k 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.
Chirag Prajapati's user avatar
0 votes
1 answer
219 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 ...
roman p.'s user avatar
4 votes
2 answers
2k 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 ...
Emipro Technologies Pvt. Ltd.'s user avatar
1 vote
1 answer
2k 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"&...
Mayur Jotaniya's user avatar
0 votes
1 answer
610 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. ...
Emipro Technologies Pvt. Ltd.'s user avatar
0 votes
0 answers
79 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 ...
Emipro Technologies Pvt. Ltd.'s user avatar
1 vote
1 answer
1k 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:...
Mehta Prem's user avatar
1 vote
0 answers
68 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....
Рома Лытарь's user avatar
6 votes
1 answer
4k 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 ...
YorkieMagento's user avatar
1 vote
1 answer
600 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?
Petro Chaikivskyi's user avatar
2 votes
1 answer
4k 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: <...
Rahul Singh's user avatar
  • 1,630
2 votes
0 answers
231 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 ?
Uday Akoliya's user avatar
0 votes
0 answers
281 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. <...
Avesh Naik's user avatar
  • 1,171
0 votes
0 answers
67 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?
Avesh Naik's user avatar
  • 1,171
0 votes
2 answers
191 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 ...
Avesh Naik's user avatar
  • 1,171
0 votes
4 answers
1k 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 ...
Avesh Naik's user avatar
  • 1,171
1 vote
0 answers
1k 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-...
user70460's user avatar
1 vote
0 answers
156 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 Mcas\...
Dr. Christian Kusche's user avatar
3 votes
1 answer
3k 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:...
lisa's user avatar
  • 133
1 vote
1 answer
2k 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"&...
Prakash Patel's user avatar
2 votes
1 answer
3k 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/...
Ashish Raj's user avatar
  • 1,325
0 votes
1 answer
2k 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="...
Ashish Raj's user avatar
  • 1,325
1 vote
1 answer
1k 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 ...
Eugene's user avatar
  • 13
6 votes
2 answers
5k 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. ...
arushi's user avatar
  • 790
7 votes
0 answers
1k views

How to add dynamic custom column in UI component

I have configured UI component columns in the admin grid and it's working fine. I need to add custom columns dynamically. For example we can add custom column in __prepareColumns function in Block ...
Venkat's user avatar
  • 420