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
35 views

magento 2 - ui componet grid (Backend)

Can this be achieved in magento 2 Ui Component.
2
votes
0answers
23 views

how to add default filter in magento admin ui component in magento 2

Hi I want to filter the admin grid data in default Magento 2 how to add default filter in Magento admin UI component in Magento 2
0
votes
0answers
33 views

How to duplicate the grid of sales order according to client group magento 2

I want to have two grid of sales order i tried with this code but i have the error 500 : ` Magento\Sales\Model\ResourceModel\Order\Grid\Collection DistFilterPool ...
0
votes
0answers
16 views

Magento 2 Set date field as default sort field in Admin Ui Grid Listing

I have created a custom UI Grid with my custom table. I want to sort the grid based on the "from_date" value. I have used the "sorting" field. Now it is working. But when I click the "default view" ...
1
vote
1answer
35 views

Remove “add new customer” button in ui component grid with condition base?

I want to remove the "add new customer" button in condition base. "add new customer" button only display for main admin, not any child admin. any have an idea about the same problem. Thank you in ...
1
vote
0answers
26 views

Get Empty Page when loading UI Form

I get a EmtyPage when loading UI Form, pls help me. Here is my code DataProvider.php <?php namespace SimplifiedMagento\CustomAdmin\Model\Ui; use Magento\Ui\DataProvider\AbstractDataProvider; ...
0
votes
0answers
7 views

Magento1 admin panel product image browse button upload issue

I have installed Magento1 Patch SUPEE-8788 in my local system. But I have an issue, in Admin Panel, Product Image Upload Browse Button is Not Working. 1 File: app\code\core\Mage\Adminhtml\Block\Media\...
0
votes
1answer
15 views

Magento 2 display certain rows from custom table in admin grid

I have a custom table(id,product_id,company_code) that is displayed on the backend as a grid. To create the grid, I followed this link. This displays all the records from the table. I need to show ...
3
votes
1answer
36 views

Magento 2 Admin Ui Component Edit Form Validation based on Dropdown selection

I am trying to give required field validation on textbox which is depend on dropdown selected value. Dropdown have 2 values 1. Yes 2.No. If dropdown selected value is Yes than textbox is mandatory ...
0
votes
0answers
17 views

Magento 2 - Product attribute grid checkbox yes/no/any filter not working custom module?

$this->addColumn( 'main_table.attribute_id', [ 'header_css_class' => 'a-center', 'type' => 'checkbox', ...
2
votes
0answers
18 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
23 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
22 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
22 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
19 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
41 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
43 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
40 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
23 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
81 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
66 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
22 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
16 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
32 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?
2
votes
1answer
51 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
145 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
150 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
42 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
25 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
18 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
42 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
16 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
26 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
29 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
74 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
27 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
16 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
29 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
64 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