Questions tagged [ui-grid]

Question about admin grid with uicomponent.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 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 ...
user avatar
0 votes
0 answers
27 views

How to make filters are visible in admin UI grid?

In magento 2 By default, the filters are hidden. To make them visible, you need to press the "Filters" button in admin UI grid How we make "Filters" options visible by default? I ...
user avatar
  • 1,948
0 votes
0 answers
85 views

How to apply filter on condition when admin grid load in Magento 2

I want to load admin customer grid with group filter when click on a custom link from admin dashboard. I have checked that I can achieve that by updating config value of current identifier row of ...
user avatar
0 votes
1 answer
47 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 ...
user avatar
1 vote
0 answers
315 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&...
user avatar
  • 13
0 votes
1 answer
14 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
user avatar
  • 1
0 votes
1 answer
205 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 ...
user avatar
  • 2,038
0 votes
1 answer
731 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 ...
user avatar
  • 129
2 votes
0 answers
50 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?
user avatar
1 vote
2 answers
433 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 ...
user avatar
1 vote
0 answers
132 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 (...
user avatar
  • 1,036
1 vote
0 answers
302 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 ...
user avatar
  • 129
2 votes
0 answers
349 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 ...
user avatar
1 vote
0 answers
30 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=...
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 ...
user avatar
1 vote
0 answers
43 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.
user avatar
  • 81
1 vote
1 answer
121 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 ...
user avatar
0 votes
1 answer
592 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 ...
user avatar
3 votes
0 answers
382 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
126 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:
user avatar
1 vote
1 answer
1k 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" ...
user avatar
-1 votes
1 answer
33 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....
user avatar
  • 1,128
0 votes
0 answers
158 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 ...
user avatar
1 vote
3 answers
560 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.
user avatar
0 votes
1 answer
129 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 ...
user avatar
4 votes
2 answers
1k 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 ...
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"&...
user avatar
0 votes
1 answer
425 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. ...
user avatar
0 votes
0 answers
75 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 ...
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:...
user avatar
1 vote
0 answers
67 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....
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 ...
user avatar
1 vote
1 answer
467 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?
user avatar
2 votes
1 answer
3k 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: <...
user avatar
  • 1,562
2 votes
0 answers
131 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 ?
user avatar
0 votes
0 answers
239 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. <...
user avatar
  • 1,128
0 votes
0 answers
46 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?
user avatar
  • 1,128
0 votes
2 answers
146 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 ...
user avatar
  • 1,128
0 votes
4 answers
931 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 ...
user avatar
  • 1,128
1 vote
0 answers
972 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-...
user avatar
1 vote
0 answers
116 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\...
user avatar
3 votes
1 answer
2k 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:...
user avatar
  • 133
1 vote
1 answer
1k 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"&...
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/...
user avatar
  • 1,198
0 votes
1 answer
1k 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="...
user avatar
  • 1,198
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 ...
user avatar
  • 13
6 votes
2 answers
4k 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. ...
user avatar
  • 745
7 votes
0 answers
948 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 ...
user avatar
  • 420