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
0
votes
0answers
14 views

magento 2 custom admin grid filters not working for custom attributes

magento 2 custom admin grid filters not working for custom attributes. I loaded the table into a grid. based on id I get the customer email into the grid, but customer email is not filtering in my ...
0
votes
1answer
36 views

How to get the customer email by customer id in magento2 admin grid

How to get the customer email by customer id in magento2 admin grid. in my table I have customer id based on customer id get the email id in the admin custom grid. namespace Vendor\Module\Model\...
1
vote
0answers
34 views

Add a modal popup when the mass action button in ui component admin grid

I have a admin grid, where I want to add a popup which will have a input field posting a data on confirmation. Take the above screenshot as an example. When the hold button is clicked, I want to ...
0
votes
0answers
12 views

Magento 2 Product grid collection filtering on programmatic Qty column values

I am programatically updating the qty column values for configurable products. Sadly, the grid filter for this column doesn't work with new values. The underlying catalog product collection joins with ...
0
votes
2answers
21 views

How to filter admin grid column using a different table colum from database?

in my form_list.xml i have something like this <column name="testcolumn" class="Vendor\Module\Model\Block\Source\Testcolumn"> <argument name="data" ...
0
votes
1answer
28 views

Why is my my custom edit page for my custom admin panel not working?

fellow Magento developers. Ive been working on this new exercise including a whole admin panel and all that. i was working on the edit and ran into an issue that produces these 2 errors in my log ...
0
votes
0answers
13 views

How to add a input field in admin grid and post it using mass action- Admin Panel

The question is how to get the input data in mass action. I have currently added a input field in the admin grid. Like this: I have added the input field using the block. I want to post that values ...
0
votes
1answer
21 views

Magneto 2: How to Add custom text after product image in product list & grid view page via custom module?

How to Add custom text after product image in product list & grid view page via a custom module? In this picture custom text, I want to add before the product name
0
votes
1answer
21 views

Magento 2: How to get column total in custom admin grid

This is my custom admin grid. The last column shows the total which is a multiplication of cost and qty fields. I want to show total of the column(total) in the last row and last column. The row ...
0
votes
1answer
34 views

getting store view at admin gird

How can I get the store_view into the admin grid? I have a second table to store the key and the store_id. how can I retrieve the data from that table to the grid? I have below, but it is showing ...
1
vote
0answers
12 views

want to add amount field in Transactions grid (capture and refund amount show in column as per Transactions)

i want to add amount field in sales Transactions grid which show capture and refund amount as per Transactions ids
0
votes
0answers
18 views

Get all available columns in an admin grid like Customer or Order

I need to retrieve all possible columns in admin grid, for instance, Customer Grid. I notice that there is a component in Magento 2 called ColumnControls. I think it somehow can read all data about ...
0
votes
0answers
16 views

How to set default value in catalog category add products to categories in position column

I have attached screenshot, I want to add default values in position, for example when I add product in category position should show 100. Thanks in advance
0
votes
0answers
20 views

How to show popup while clicking button?

I want to show a confirmation message after clicking the "Delete older Files" or "Add New Customer" button.
0
votes
0answers
16 views

Magento 2 custom admin grid get all categories

I want to create admin grid in custom module to to show category id,name and a custom attribute from catalog_category_entity table, how to do this ? I created a ui component but table is empty. any ...
0
votes
0answers
15 views

Invalid security or form key. Please refresh the page, Grid Implementation

I had created a custom admin grid and when I enter the newly made grid in the admin catalog site, gives an error as in the title appears. Here is my index.php namespace Warsaw\Weather\Grid\Controller\...
0
votes
0answers
16 views

How to drag-drop custom admin grid listing row in magento 2

How to drag-drop custom admin grid listing row in Magento 2? But I don't know how to implement them, can anyone show me a working example or nudge me in the right direction?
0
votes
0answers
23 views

Magento 2.4 render column grid created via block as ui compoent columns

I need to modify one of the default Magento backend grids. The original grid is created via Grid.php so I've created a preference in my adminhtml/di.xml to extend the _prepareColumns() method and ...
0
votes
0answers
11 views

some of the columns are missing in custom grid CSV export

I'm having a custom Grid here most of the columns are getting exported in CSV but few columns only column names are displaying data is not capturing, my XML file example <column name="...
0
votes
1answer
34 views

How to display admin grid columns on condition basis

Here, I am using layout xml file to render block grid columns, but facing issue to render specific column on condition basis, here I want to show/hide column on basis of user role but not able to do ...
0
votes
1answer
192 views

Admin Grid wont show and getting "Request validation failed for action" error in debug

I was trying to create an admin grid in the adminhtml trying to learn how they function and work and I ran into an issue following this guide: Mageplaza. I've been trying to debug where the issue is ...
0
votes
1answer
23 views

Magento 2: How to display author's name outside the admin grid

I just have learned magento 2. I have a table ecommage_blog in which there is an author_id attribute (which is the id of the customer that created that blog), so how can I display the author's name of ...
0
votes
0answers
14 views

How to create product grid inline edit in magento 2

I want to show stock status column in product grid. And stock status column inline editable.So how to create product grid inline editable in Magento 2.
0
votes
0answers
11 views

Why aren't Magento sale grids using Mview (and indexer)?

By default Magento implement Mview/indexer for some grids for example customer grid. But for sale grids (sale, invoice, credit memo, shipment) Magento use a cron job to insert/update new data (if ...
0
votes
0answers
19 views

Magento 2.4 Admin invoices page spinner never disappear

I want view a list of invoices in my mogento module. The data has successfully loaded, but the loading spinner never disappear. Magento version: 2.4.3 OS version: Ubuntu 20.04 LTS My exception log: [...
0
votes
1answer
19 views

How can i used constructor in "Ui\Component\Listing\Column" File In Magento 2?

in need to add state columns and get state name from region id so i used object manager for it but that not right way i convert that in constructor method the data of state comes but the column of ...
0
votes
1answer
21 views

How to set Button width to column width in Page Builder

Explanation I have a 3 by 2 grid with equal wide columns on my starting page which I created with Page Builder. In each of the cells there is a picture and a button. In different browser sizes the ...
0
votes
0answers
12 views

Getting some Junk Value for billing and shipping address

In grid for shipping address I am getting value like this: На Ваш счет пришел денежный бонус http://maisbarnabes.com/cryptogods?keyword=kutsola123@gmail.com На Ваш счет пришел денежный бонус http://...
0
votes
0answers
15 views

How to add a custom tab and load grid inside customer edit page using custom module magento2

I would like to create a custom tab and custom grid to customer edit page magento2 custom module. Help me great. Thanks dev
1
vote
0answers
9 views

Can you add Dynamic fields in admin grid?

I am trying to add Dynamic fields in admin gird. i am not using UI to do this. I have added custom field using this $fieldset->addField( 'test_field', 'text', [ ...
0
votes
0answers
23 views

Admin Grid Filters Expanded on the base of Configuration

I am trying to create the configuration to expanded Magento 2 all grids filters, I overrider these 2 files its work, var config = { map: { '*': { 'Magento_Ui/js/grid/filters/...
0
votes
0answers
18 views

Magento 2 getting products use sql

I'm trying to get all products using Magento SQL. I just need to do some tweaks. If the product has a thumbnail, it should show its value and if it is null, it should show my custom text. My code ...
0
votes
0answers
20 views

How to create Admin grid of Category same as Product Grid?

I want to display Admin Grid for categories same as Product Grid without using UI Component. I am trying to get Collection of category using below code in _prepareCollection method inside Grid.php of ...
0
votes
2answers
31 views

Admin grids: Force custom grid view for specific admin user or admin user role?

We have a special admin user account that should not see certain columns in the admin panel order grid. Let's assume we want to hide the "Bill to name" and "Ship to name" from that ...
0
votes
0answers
238 views

How to use custom collection class as data provider in Magento 2 for grid?

I have added a custom data provider in Magento 2. I can see the data in grid. Though when I try to export the data in csv format, it says Error: Call to a member function setCurrentPage() on null ...
0
votes
0answers
21 views

Add column attribute in product in category grid

I want to add a column of a newly created boolean attribute, but it doesn't work, I have read blogs where they give the same advice but it hasn't worked I have followed the following steps: Create ...
0
votes
1answer
22 views

Magento 2 admin order grid model filters based on conditions

I have overridden Magento's default order grid controller. I'm trying to apply different filters based on the custom cookie I set. My di.xml <?xml version="1.0"?> <config xmlns:xsi=&...
1
vote
0answers
61 views

Magento 2 : How to export my custom grid data in product edit page admin?

When I click Export Button Vendor\Module\etc\adminhtml\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
35 views

Magento 2 : How to add export button product review grid in Admin product edit page?

Add Export button in product review grid Admin.
1
vote
1answer
209 views

Magento 2 : How To Add Export Functionality in Admin Custom Grid Using only Block file?

I have create custom grid in customer information. Create export functionality in custom admin grid without template file and ui component Meetanshi\OrderHistory\view\adminhtml\layout\...
0
votes
1answer
87 views

Magento 2 : Ui component displaying wrong date

So I created a module where I am storing order details in custom table and later on displaying all the details in custom grid. Everything is working fine except for date field. In the database its ...
1
vote
1answer
53 views

How to add column in orders Tab in Magento 2 Customer Admin Edit Page?

I have add custom column in orders tab.
0
votes
0answers
16 views

How to Create a Tab and Load Grid in Magento 2 Customer Admin Edit Page?

I have a create grid and load grid in customer edit page.
0
votes
1answer
42 views

how to add content limit on custom admin grid

I want to add content limit to 50 characters on content of the admin grid for specific column. Can anyone help me out. below is the code used for this grid : /app/code/Vendor/Module/view/adminhtml/...
0
votes
0answers
56 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 ...
1
vote
1answer
193 views

Admin Grid is Showing Wrong filter count Magento 2.4.2

I had updated the magento version 2.3.5 to 2.4.2, in the admin when i tried to search the configurable product alone it shows the wrong product count.
0
votes
0answers
141 views

(Magento 2) Backend Grid with Joined Tables : UI Component - "Something went wrong" error

Introduction I have created a new module with CRUD functionality. This is on Magento 2.3.5 Issue I have a grid with joined tables as a resultset that I can't get to work. Relevant information The ...
0
votes
1answer
20 views

Change sequence of fields in the CSV while exporting it from admin

I have a module that exports some data from admin to CSV file. Everything works fine but now I need to rearrange the CSV columns. I need to change the sequence of some fields in the CSV. Here is the ...
0
votes
2answers
90 views

Magento 2.4.2 Adminhtml grid error

So I have a custom table and I want to create a grid in admin html to display all the records from my custom table. I created new page using page factory. I created listing.xml and di.xml as well but ...
0
votes
1answer
34 views

M2 - Admin related product, grid columns

In Magento 2 you can select your own attributes you want to show on the normal product grid in the admin. But when you are editing a product and want to add some related product, all the attributes ...

1
2 3 4 5
28