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.

2
votes
0answers
17 views

Unable to resolve the source file. magento 2 admin sales order grid

In admin. We are getting this error open SALES=>Orders. Unable to resolve the source file for 'adminhtml/Magento/backend/en_US/Magento_Ui/templates/collection' #0 /var/www/abc.com/vendor/magento/...
1
vote
1answer
17 views

Magento 2 - Render a custom column in orders table

After using this answer from three years ago. I would like to do the same thing but with HTML. (Only difference is, I have the configuration as an option to one of the products, rather than having ...
0
votes
0answers
21 views

Filter and Adminhtml Grid is not redndering correctly in Magento 2

I am trying to display the Custom Module Adminhtml Grid, but it's not rendering correctly see below image. For this I have done below code, If anything missed please suggest. layout ...
1
vote
0answers
20 views

Grid Mass Action getting required-entry class

How to remove required-entry class for the grid MassAction dropdown field. In ui_component iam having only the following files: csmarketplace_vendor_edit0000.xml ` * @copyright Copyright ...
1
vote
0answers
21 views

Display record count in custom report on the basis of row count. Magento 1.9 custom report

In my Custom Report. I have created a collection which count is 25. But After this I have applied some joins on that by another collection. but on which I have made join is returning 25 records. ...
0
votes
0answers
16 views

How to filter a customer boolean attribute on the admin invoice grid(Magento 1.9)?

I can successfully display a Yes or No for my customer boolean attribute on the admin invoice grid using the following code. Here's the collection setup: $entityType = 'customer'; $attributeCode = '...
0
votes
0answers
9 views

Magento 2 (2.3.1): Can we share pre-defined views in grids?

it seems Magento 2 support the 'saving of views' by default. In M1 we usead the EAG grid manager, this could do the following: Save the current filter and column set as a view (M2 supports this by ...
1
vote
2answers
39 views

How to write Nested Query in Grid Collection _initSelect method

I want to Apply this Query using $this->getSelect() method SELECT * FROM (SELECT * FROM customer_grid_flat ORDER BY enroller_id, entity_id) customer_grid_flat, (SELECT @pv := '$id') ...
0
votes
1answer
15 views

Render Checkboxes in form modifier grid in Magento2 Admin

I'm building a feature where I need to render checkboxes for a set of comma-separated values in a column. Here's my existing code: protected function fillModifierMeta() { return [ ...
1
vote
0answers
38 views

Magento 2.3.0 Admin grid using UI component sticky CSS is not working

I have created a grid using UI component. in this grid, I display only grid I don't need to display button <buttons></buttons>. gird is working perfectly when I scroll down in grid page ...
0
votes
0answers
29 views

Is it possible to show/hide custom column of admin product grid based on custom module enable and disable functionality?

This is my product_listing.xml file <filters name="listing_filters"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
1
vote
1answer
40 views

Magento 2 add column to sales returns grid

How to add column to sales returns grid, returns grid using _prepareColumns to add columns to grid \Magento\Rma\Block\Adminhtml\Rma\Grid
0
votes
0answers
17 views

Magento 2 - get EAV value and display it on admin Grid

I added a new attribute to the product table, using EAV method, this attribute named 'user_id' content the ID of user admin ID who's added the product. Now, I need to get the value of this attribute ...
1
vote
1answer
37 views

Magento 2 - Add Product Edit link grid action but it shows in the Grid total row

I add the product edit link in grid action by using following code Path of my grid file: app\code\Vendor\Module\Block\Adminhtml\Abcreport\Grid.php $this->addColumn('action', array( ...
2
votes
1answer
42 views

Magento 2 - Add product edit link on custom grid

I have custom admin grid, I want to add product edit link on it. I have a column that is showing product id, I want to use edit link instead of id. code for that column is this: $this->addColumn( ...
1
vote
1answer
19 views

Magento 2 - Show image in custom grid

I have a column in my custom grid, I am getting image URL in that column, I want to show image instead of URL. My code of calling that column is: $this->addColumn( 'image', [ '...
0
votes
0answers
14 views

Can't get a column by POST

I've create a module, but i don't know why i can't get the field "qty". Follows code of the grid: protected function _prepareCollection() { $collection = Mage::getModel('catalog/...
0
votes
0answers
28 views

Magento 2 double admin grid when scroll page

I write custom module. When scroll admin grid i get upon the following bug: What is it? How can i resolve it?
1
vote
1answer
43 views

Magento2 Backend Not Add Product So give me Solution

Magento2 Backend Not Add Product So give me Solution Here is my EXCEPTION.LOG [2019-04-16 13:09:11] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/ywndev/domains/dev....
3
votes
1answer
122 views

Magento 2.3.1 customer grid sorting issue

I am using magento 2.3.1. I am having this strange issue only in admin>customer grid No matter which column I choose to sort the results are always the same. It happens only in this grid. What I ...
0
votes
0answers
23 views

set default filter to admin product grid

i wanna set a filter to admin grid collection by creating plugin or override Block class . for example show all product that price are more than 1 $ how i can do this.
1
vote
2answers
122 views

Magento2 Admin Grid Image Display

Note: I am not using UI component I have a file Grid.php where I have a column image, in this column, image URL is populating I want to show the image in this column instead of image URL
0
votes
1answer
39 views

Add Custom Grid into a Custom Tab in Product Edit Page collection filter by current product id

As per my requirement, I need to add a custom grid into a custom tab in the product edit page. for that, I got one of the good tutorials, but in that, I need to filter the collection by the current ...
0
votes
0answers
16 views

Add Custom Search Filter Controller for filterSearch tag Magento 2 Grid

Can we do custom controller action for filterSearch tag in grid magento 2? THanks
1
vote
1answer
16 views

Add column to gridview in custom extension

I have a custom extension where the admin user needs to select a customer from the drop down. The extension saves the customer ID to the database. Currently, on the grid view, in my UI component I ...
1
vote
2answers
34 views

magento1 admin panel new product add then error show 500 http error

magento1 admin panel new product add then error show 500 http error. SO GIVE ME SOLUTION PLEASE. Mehul Kanjariya
1
vote
1answer
15 views

Magento 2 ui form multiselect field not checked not in $_POST

I have multiselectin my form displaying all store view available one is selected when I save only one show in the post array: <field name="store"> <argument name="data" xsi:type="array"&...
0
votes
1answer
24 views

Magento 2 actions column in backend grid registry.js error on click any collumn

When I click anywhere on the Grid I get the following: Actions xml: ... <actionsColumn name="actions" class="Vendor\Module\Ui\Component\Listing\Grid\Column\BlogAction"> <argument ...
0
votes
1answer
28 views

magento 2 : filter grid based on vendor

i have created role as vendor with product and sales grid access custom product attributes as vendor_id and assign a particular vendor to products using this custom order attributes as ...
0
votes
0answers
19 views

How to get Data of the product without using submit_url in adminhtml. Magento2

I'm want to get data from the grid specific of the specific product when I click on the Accept Button (name of accept button is save) it goes to submit_url and get the data of the product while when I ...
0
votes
2answers
71 views

Magento 2 UI Component

I need to customize admin grid which is in Content->Pages. What is the correct way to add new feature/customize to the admin grid? Suppose in the above-mentioned grid, I need to change the "Add ...
1
vote
2answers
73 views

How to give onclick event for admin grid action link

I have a custom admin grid for return items. For which I need to add a popup to add a comment for every action below I have written a js function for the modal popup. But I am unable to trigger ...
1
vote
1answer
25 views

Magento 2.3 : single checkbox not selected in massStatus

I created ui grid in my custom module. But, When I select single checkbox for massStatus at that time, it will select all checkbox instead of single checkbox. This is my vendor_module_entity_listing....
0
votes
0answers
14 views

Magento 2 Column search dependency in UI listing

Is there a way to make some listing select in filter to depend on some other select? I have seen this done on frontend checkout but that's a form not a list. The idea is to make two columns ...
2
votes
1answer
25 views

Increase number of shown related products in the administration (Magento 2)

When you edit a product in the magento administration the number of items listed in the related products, up-sells and cross-sells list is limited to 20. Also there is no possibility to change this ...
1
vote
0answers
16 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
28 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
50 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
33 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
23 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
19 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
21 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 ...
3
votes
1answer
93 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
34 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
51 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
215 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
62 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
68 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
64 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 ...