Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
10 views

magento 2 Ui Component Grids displays gone

I am working on Magento 2.2.6 .Each and every grid(Custom/Builtin) are acting strange the column names are gone and few of the grids are showing blank in action column. here I'm attaching a ...
1
vote
0answers
21 views

Magento 2 Error click on admin grid edit

Magento2 error when clicking edit configurable product below error shown 2 exception(s): Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S22]: Column not found: 1054 Unknown column '...
1
vote
0answers
25 views

“The product doesn't exit” Error Magento 2 admin panel

"The product doesn't exist" Error Magento 2 admin panel. Thank you, Your Faithfully, Mehul Kanjariya Following error show log file [2019-03-18 11:01:54] main.CRITICAL: SQLSTATE[42S22]: Column ...
0
votes
0answers
26 views

why admin grid not showing in front end in magento 2

i'm working on overriding admin ui filter in custom module https://belvg.com/blog/ui-grid-component-on-the-front-end-in-magento-2.html with referring this blog but only loading css files not ...
1
vote
0answers
22 views

Magento2 Error when clicking configurable product admin panel grid Section

My Question is Magento2 Error when clicking configurable product admin panel grid Section. "This Product doesn't exit" So give me solution . Thank you, Your Faithfully, Mehul Kanjariya
1
vote
0answers
18 views

How to add admin custom module page (Button) in Magento 2?

Here I already created the button if ($this->_isAllowedAction('custom_Mpquotesystem::mpquotes')) { $this->buttonList->update( 'delete', 'label', ...
2
votes
0answers
13 views

reload grid when click on button and filter grid

I add some buttons in the top of my grid that shows orders statuses. https://pasteboard.co/I5lM7c8.png I want send parameter to Magento grid to filter and reload the grid for example, when I click ...
2
votes
1answer
39 views

Magento 2 : Join category name in product collection

I want to join category name in product collection. I want to use that in product grid filter which is used in my custom module. This is my collection code. It's same as like this _prepareCollection()...
1
vote
0answers
25 views

Magento 2 : Category name filter in product grid in custom module

I want to filter by category name in this product grid. How to do that? My prepare collection code : /** * [prepareCollection for grid] * @return collection */ protected function ...
0
votes
0answers
21 views

Magento 2.3 render first level subcategory grid with images on category page

Hi I want to render sub categories grid with images. Using below code in products.phtml but it renders all levels sub-categories. <?php $category = $block->getCurrentCategory(); $...
1
vote
1answer
137 views

how to modify custom status text color in UI component grid magento 2?

I have created custom module and it has Ui component grid in admin side.. In that grid has status column based on different status color should be change. Eg; if the status is 'approved' text color ...
2
votes
0answers
39 views

Magento2 : How to change custom status text color in admin UI Component grid [closed]

Change custom module status text color in magento 2 admin UI Component grid
0
votes
2answers
57 views

Magento 2 : Custom Column Error

So, I have added a column to sales_order table. It is varchar type and it has some data in it. I found tutorial: here that show what I want to achieve exactly. Now, I am running Magento 2.2.3. and ...
0
votes
0answers
13 views

How to add template for particular field which is present in admin grid in magento 2

How to add template for particular field which is present in magento 2 Grid.php $this->addColumn( 'expiry_link', [ 'header' => __('test'), 'type' =&...
0
votes
1answer
21 views

How to add a button in admin grid in magento 2

I wish to add button field in layout grid(without using UI component), After adding button, also need to add click function to that field. Please provide me a solution to add button as a field in the ...
1
vote
1answer
23 views

Backend massaction(grid) selectAll in not working

In Magento admin grid, select all alone is not selecting all the checkboxes, whereas select visible, unselect visible and unselect all is working fine. What might be the issue? help me to resolve this ...
3
votes
0answers
20 views

Magento2 : How to add confirmation alert to custom field in

I have created custom admin grid,I wish to add confirmation alert popup while clicking my custom field (like before deleting,before update status).Please provide me a solution I need to show the ...
1
vote
1answer
18 views

Boolean to String

I have made admin grid as UI component. I've got boolean column called status in db. This is where I show column value. <column name="status"> <settings> <filter&...
1
vote
0answers
52 views

Magento 2.3 Ui grid not working when store column is present

I have created a custom grid using UI component. "Store" column is one of the columns. The issue is, when there is Store column, export function is not working. The error comes from the following path ...
1
vote
1answer
26 views

magento 2 Add totals row at end of the grid

Note: I am not using ui component to create my grid I want to show totals at the end of the grid: I got stack exchange question related to this, but its for Magento 1.9 How to add a column Total ...
1
vote
3answers
44 views

How to get Customer attribute value by loading customer id in magento 2

I have customer entity id, how do i get customer attribute value by loading customer entity id, Please provide me a solution
2
votes
1answer
19 views

How to make admin grid text to skip to next line?

I have admin grid made by using UI component. One of the columns is comments column. Comments can be long and text is spreading horizontally in one line and that breaks grid layout. I want to achieve ...
1
vote
1answer
35 views

How to show grid with customer and customer's attributes details in magento 2

I wish to show customer name,email and some customer attributes values in a separate grid please provide me a solution, how to replace a below code to show customer and its attribute values. ...
1
vote
0answers
20 views

Magento 1.9 -Two grids on the same page [closed]

I have one grid on my page, but I want to make another grid on the same page. Thanks MagentoCommunityversion1.9
2
votes
2answers
41 views

Magento2 : admin grid action column position deviation

When I select multiple columns, the action is in the wrong position
1
vote
0answers
18 views

how to display product sku in custom admin grid in magento2

hello everyone I want to display the product SKU in custom admin grid I have column displaying in it now I want to display the data of it index.xml <column name="sku"> <argument ...
2
votes
0answers
29 views

how to display product sku through product id in admin grid in magento2

everyone, I want to display product SKU in admin grid I have the product name . code for a display product name is below ui_componeny/index.xml <column name="entity_id" class="Magneto\...
1
vote
1answer
35 views

Disable sort/filter for existing grid column

Is it possible to disable filterable/sortable for an existing grid column via observer or layout update?
3
votes
0answers
23 views

Magento 2 : Filter is not showing in front end in my custom module

i'm creating filter for Frontend in custom module. I'm following this module grid https://belvg.com/blog/ui-grid-component-on-the-front-end-in-magento-2.html But it's not showing in Front end. ...
1
vote
0answers
20 views

Magento 2 Frontend UI grid not display

I am working in magento 2.2 I want show the customer list in the frontend / vendor panel. When accessing the url and check the response customer data is fetching in JSON format but customer grid is ...
2
votes
1answer
26 views

Magento 2 ordered product report

Report -> Product -> Ordered I want to add new column Brand (f_brand) in report grid. I am unable to find any Grid.php or something like this file. Can anyone help me on this? Which file I ...
2
votes
1answer
27 views

Order admin grid by values in another collection

I have a module, in this there is a field which contains the id from customer table. In my admin grid listing I show the name of the customer, not the id. When i short this grid by the field, the ...
1
vote
2answers
26 views

How can I manage admin form via template in Magento2?

I have a phtml file having an HTML form, I want to use it as an admin form. To manage admin form magento2 either uses "UI Component" or "_prepareForm()" block method. I've created a module using ...
1
vote
0answers
14 views

create admin grid in tabs in edit

As like customer I want to display admin grid in edit form
1
vote
0answers
14 views

Admin Backend Exact Match

In the admin backend on the order/customer grids we used to be able to do an exact search like, "Firstname" in Magento 2.2.5 This seems to no longer work in Magento 2.2.7. Is there a different/new ...
1
vote
1answer
41 views

How Order Grid Filter in magento2

How can i filter the sale order grid by any preference , observer or plugin . How override sales order grid. Can any one help me . I just want to apply condition just like addFeildToFilter and i pass ...
1
vote
1answer
22 views

Inline Edit Not Working In Admin Grid Magento 2

<?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/...
0
votes
0answers
23 views

Dependent dropdown on magento2 using ui_component

I want to store products and categories in dropdown in magento2 how can I set dependent drop down in admin panel?
0
votes
1answer
33 views

How apply Filter on the basis of Custom Attribute in Order Grid Programatically

I have save custom_attribute(current_seller_id) in sales_order and sales_order_grid and same values in both table's columns.For save value in sales_order code is given below .I have use event ...
1
vote
1answer
53 views

How can I fix block grid reload issues in admin?

<?php namespace vendor\module_name\Block\Adminhtml\Statement\Edit\Tab; class Products extends \Magento\Backend\Block\Widget\Grid\Extended { protected $_productCollectionFactory; ...
0
votes
0answers
26 views

admin block grid filter is reloading page issue in tab view

Need to avoid reloading entire page when searching field...
0
votes
1answer
60 views

How i can create custom filter grid in front end magento 2

i want to create custom filter in front end how can copy the back end grid and filter for front end with working like back end filter ??? how i can code this any ideas.....
1
vote
1answer
12 views

Grid (Serializer Grid) skip one record while loading

I am loading a serializer grid with record but it skips the very first record it is returning array correct Code for my grid is working like this ->it loads the answer related to a question. ->the ...
0
votes
0answers
19 views

How To Fetch Product Image From Product Name Or Entity Id In Magento 2 [duplicate]

I Have Given A Foreign Key in my table field name is productid with an entity of product I have already fetched product name from id but now I want to fetch product image from that id and display it ...
1
vote
2answers
30 views

Magento 2 How to Add a New Column to Newsletter Subscribers Grid

I've added a new column to the table newsletter_subscriber called "name", now I want to add new grid column with the data from the "name" column. How can I do it using Event Observers?
1
vote
0answers
59 views

Magento 2 : How to fetch product thumbnail images in admin grid?

<?php namespace Magneto\PopupQuestion\Ui\Component\Listing\Column; use Magento\Framework\View\Element\UiComponentFactory; use Magento\Framework\View\Element\UiComponent\...
1
vote
1answer
38 views

display uploaded image in custom page in admin grid

I want to display an uploaded image in a custom page in admin grid at is shown in 1 picture and want to display in 2 picture <field name="customization_attachment"> <argument name="...
0
votes
0answers
29 views

How to add filters(Filter Form ) in Grid( Custom Table Collection)?

I want to add Filter to Grid like Sku or name fillter in Manage Product here my code Grid.php class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\...
1
vote
0answers
35 views

display product name and product image on custom page at admin grid

I want to display the product name and product image in the custom page at admin grid <?xml version="1.0" ?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
43 views

Collection not loading in Ui Component Admin Grid - stuck spinning

I have a basic CRUD repository setup, however when I try to go to the Admin Grid UI Component, the spinner just spins and nothing loads. No errors displayed in any of the logs either. When I inspect ...