Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [grid]

The admin grid widget is a powerful tool to manage entities in the admin panel. For questions about the catalog grid view from Mage_Catalog, use the tag "grid-layout" instead.

Filter by
Sorted by
Tagged with
2
votes
2answers
37 views

Magento 2 - the grid columns are empty after joining table

I have two tables: A & B . I want to display two columns from table B in my grid. The column names are: Price (See img) and Status(which is missing from the img, but it's there :) ). In my ...
2
votes
1answer
26 views

Magento 2 How to create admin grid using Block(.php) file?

How can we create admin grid by using Block (.php) file? Everytime when I tried to create block via .php file, I got stuck in between and didn't find any solution. This time I am successful in this. ...
1
vote
2answers
74 views

how to show a label in admin grid in magento 2

grid using block (.xml file) <block class="Magento\Backend\Block\Widget\Grid\Column" as="customer_group"> <arguments> <argument name="header" xsi:type="string" ...
0
votes
0answers
29 views

Magento2 - Ordered Products Report sorting columns

Magento Admin > Reports > Products > Ordered I have created new columns(SKU) using the help of these two links in the report grid. Magento 2 ordered product report HOW TO ADD COLUMN TO '...
0
votes
0answers
6 views

Magento2 how can I add out-of-stock threshold to admin products grid?

How can I add 'out-of-stock-threshold' (min_qty) to the admin products grid? Or for that matter any of the MSI stock fields beyond qty?
0
votes
0answers
11 views

How to use “Time Range Picker” for admin ui component grid filters?

I want to add the time range picker for admin UI component grid filters to filter the grid using the time range. In dev docs, I have seen the time range picker but I don't know how to use it in grid ...
0
votes
0answers
18 views

Inline edit in magento 2 backend grid

Magento 2 allow us to add inline edit functionality to grid created by UI_Component but I failed to figure out how to implement the same functionality for grid that created by Block. My code for ...
1
vote
1answer
24 views

Date format missing in admin grid and admin form in magento 2 custom module?

I created a custom module to update news and stories to magento 2 website.I have the date field in my form( main.php ). $dateFormat = $this->_localeDate->getDateFormat( \...
0
votes
2answers
57 views

How to debug 'something went wrong' in magento2

I installed magento2 2.2.10 version and installed custom modules. At begining it works finely after adding products , customers and place an order then it's not loading any admin grids(customers , ...
0
votes
0answers
21 views

Magento2 - Setting value of quote table

I have an Api endpoint from where I am fetching values like customer first/last name email, I want to store these values in quote table for customer_firstname , customer_lastname fields. However, when ...
0
votes
2answers
48 views

Grid not displaying in admin - custom Resource Model

I have a custom resource model mapping to a table named soldiers_thewatcher_watch with a primary key: watch_id. I added the Grid UI component as well as a controller and admin link, but when I ...
0
votes
2answers
58 views

How to Hide Export XMl Opition in Magento 2

I Want to Hide Export XML Option in Magento 2 Admin Grid I only Want to Export CSV File and i am using Custom Controller for Conversion Need Help <?xml version="1.0" encoding="UTF-8"?> <...
0
votes
0answers
15 views

Magento 2 Custom Module grid search not working

I have created a custom module in Magento 2, but its grid search is not working. I tried to search one keyword but it keeps loading. here is my code. <?xml version="1.0" encoding="UTF-8"?> <...
1
vote
1answer
26 views

How to make a form and submit datas using popup modal in magento2?

When a user clicks the open modal button the popup modal opened correctly. I want a form in a modal and save the data into the database. please, anyone gives the solution.
0
votes
0answers
17 views

I want a Edit Page in Popup Modal.How to do that?Please anyone Help me

I am trying to do that, When admin clicks an Edit link. The edit form will be in a popup.
0
votes
0answers
63 views

Magento 1.9.4.3 order grid filter error

We use the following module to load the SKU inside the order grid in the backend. https://github.com/vovsky/ExtendedGrid/ This worked perfectly before we updated to the latest Magento 1.9.4.3. When ...
0
votes
1answer
30 views

How to show image in custom grid in magento 2 backend using layout only?

I am trying to display image on custom grid in back-end using layout but not idea how to show it. I know image show using ui_component & block but i need to show using layout only. Please help me.
0
votes
0answers
13 views

Magento 2 Display fixed value in columns

I have a SQL string and need to display in the collection and admin grid, Join part is ready, but I still can't print the custom "fixed_value" into grid. SELECT `main_table`.*, `store`.`name`, "...
1
vote
2answers
73 views

Data showing in Grid but not in export file Magento2

I have created a custom report, Used below code in my ui_component listing file. <column name="custom_tax_code" class="Vendor\Module\Ui\Component\Listing\Column\Quantity"> <argument name="...
0
votes
0answers
14 views

Custom admin controller filter

I'm creating a new admin controller, for a new product property. For example, color. And each product can have a values for each color (for other reasons i didn't want to use product attributes). I ...
1
vote
1answer
35 views

Creating custom M2 grid and rendering data from a custom table issue

I tried to follow these tutorials: https://medium.com/@jhonkelly2016/how-to-create-admin-grid-in-magento-2-9f39d052322d https://www.mageplaza.com/magento-2-module-development/create-admin-grid-...
5
votes
1answer
305 views

Grid Mass Action with childs no longer work with 2.3.3

i updated from Magento 2.3.2 to 2.3.3, and one module has a problem with grid massactions. The old way was: <action name="change_status"> <argument name="data" xsi:...
1
vote
1answer
16 views

Magento 2 display if order status value contains both Delivery / delivery

We have migrated orders data but old orders we have sales_order_grid & sales_order order status is Delivered but in M2 we are considering status as delivered We would like to adjust the order ...
0
votes
1answer
27 views

Define columns shown in “products in category” grid?

Magento 2.2.3 The columns in 2.2.3 are very limited, I need the SKU and the status and maybe some more columns. Is there a way to add columns to the "products in category" grid in a category? Thanks!...
4
votes
1answer
80 views

Magento2 :How To Use Form Key In Frontend Grid Using Ui Component

When i try to perform massdelete action from frontend grid using uicomponent than it has throws invalid form key error. Does anyone know how we can use form key in frontend grid ?
0
votes
0answers
29 views

How to display specific data from custom table with filter in admin side grid

Here I want to display only those data who have emailstatus=1 from my custom table. Here I have XML code. file-path: app/code/chirag/stockproduct/view/adminhtml/layout/stockproduct_index_newlist.xml &...
0
votes
0answers
15 views

Magento 2: Duplicate admin form in block

I have a simple module portfolio, and I want to duplicate admin form category just change the name to "Tag", I have tried and created the new grid but it is using the same form as the category. here ...
2
votes
2answers
85 views

magento 2 order grid loading issue after data migration

PHP Fatal error: Uncaught Error: Call to a member function getAdditionalInformation() on null in /var/www/magento/vendor/magento/module-sales/Model/OrderRepository.php:172 Verified found that file ...
0
votes
1answer
20 views

Data from the default shipping address in customer grid

Magento OOTB is displaying data from default billing address in customer grid. I need data from default shipping address instead of billing. I made changes in indexer.xml <?xml version="1.0"?> &...
0
votes
1answer
21 views

How to get payment method and shipping method in grid view magento 1

I want to show payment method and shipping method along with other attributes here is my grid view code <?php class Mb_Orderprocessing_Block_Adminhtml_Wholesales_Grid extends ...
1
vote
1answer
27 views

Show shipping amount for entire order in custom report Magento2

I have created the custom sales report, used below code in my listing.xml file, <column name="shipping_amount"> <argument name="data" xsi:type="array"> <item name="...
0
votes
2answers
31 views

Admin Grid “Select All” for mass action only sends the visible IDs

I'm having some trouble getting "Select All" working properly for a custom grid. I have a massDelete action working and deleting multiple items. I have a multiselect column which, after I run a "...
1
vote
1answer
44 views

Magento 2.3 : How to add Custom button on a custom grid in customer view Adminhtml

You have already answer this question , I have to do this in magento2. How can i do?Where i have to add this code
0
votes
0answers
25 views

Magento 2 How to add filter Search on Inventory Grid

Here I want to add Search on Inventory, here I overridden the inventory but i cant able add search filter in Block. like this image Cant I get help? Thank you in advance.
2
votes
1answer
95 views

Magento 2: Display Payment Method in Custom Sales report grid

I have created the custom sales report to show required fields on the grid, Used below code to show payment method, Vendor/Module/view/adminhtml/ui_component/salesfinacereport_manage_listing.xml &...
1
vote
0answers
40 views

Add custom column to grid that can be exported

I want to add a column to sales order invoice grid, that should be exported as it is shown in the grid.The column is a calculated column, based on the row data, so there is no explicit database entry ...
1
vote
1answer
15 views

Magento2 : How To Solve $(…).down(…) is undefined error in admin

Does anyone know how i can solve this error?
0
votes
0answers
3 views

Magento 2.2.9 image upload using ui component listing

How do you upload image using ui component listing? Is there anything I could take a look at and follow the steps Any tips for this
1
vote
0answers
21 views

Magento 2 Ui Component how to upload image and save it

<column name="image" class="Vendor\mpdule-name\Ui\Component\Listing\Column\Thumbnail"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"&...
1
vote
0answers
18 views

Join attribute lable in product collection

I'm creating one grid which will have to below columns like SKU,Name and Color (Attribute) So to achieve this We've to join color data to collection for that I've added _initSelect to collection ...
3
votes
1answer
90 views

Filter renderer column data

I've one grid similar to product grid. <?php namespace LazyCoder\WarehouseListing\Block\Adminhtml\Grid; use Magento\Backend\Block\Widget\Grid\Extended; use Magento\Backend\Block\Template\Context; ...
1
vote
1answer
18 views

Collection data for grid ui component in Magento 2

Collection data for grid ui component in Magento 2 I want show data by grid but it get all data, how to get it with sku = "VAY", i want show all data have sku = vay My grid My collection class ...
0
votes
1answer
34 views

Saved image in the admin grid is not fetching while editing the grid Magento 2

The image is already saved in the uploaded image. But when editing the form it shows No file Chosen. How can I fetch the previously save the image? Here is the save.php code: <?php ...
0
votes
0answers
16 views

How to have inline edit for Image in Magento 2 admin grid?

I am currently having inline edit for text in the admin grid but I want to have inline edit for the image in the grid. Is it possible? I used editor type text for input text. For image what should I ...
0
votes
1answer
106 views

Magento 2 : Show custom table data in grid

I have created a form and the data of that form is saving in a custom table. Now I want to create a grid in admin which shows the saved data in that table. Please help
0
votes
0answers
48 views

Uncaught TypeError: Cannot read property 'undefined' of undefined in Magento 2

I am getting this js error when I opening my custom admin grid in the admin panel. What is wrong? Kindly help me. Here is the admin grid screenshot. This js error making the action column edit ...
0
votes
0answers
24 views

Why the edit hyperlink in action column is not displaying often in custom admin grid? [duplicate]

That edit option in action column is working fine but it is not showing often. Please help me. Action column code: <actionsColumn name="actions" class="AdminGrid\Grid\Ui\Component\Listing\Grid\...
0
votes
1answer
86 views

Edit Action column is not showing in admin grid in magento 2

Why the edit option is not displaying in the action column. Kindly help me. My Action.php code: <?php namespace AdminGrid\Grid\Ui\Component\Listing\Grid\Column; use Magento\Framework\View\...
0
votes
0answers
24 views

Change Magento 2 Menu To Display Sub-Categories In Columns Rather Than Rows

In My current install of Magento 2 (2.3.2) my sub-categories display in the menu firstly in rows (left to right), then in columns. I'd like them to display in columns first (top to bottom) and then ...
0
votes
0answers
23 views

Admin Product Grid - Scope Switcher

I have a shop on Magento 2 with two websites with different languages and I want to switch scopes on the admin product grid. I have added: <block class="Magento\Backend\Block\Store\Switcher" name=...