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

Adding a second product grid in category admin for “featured products”

I used this link but getting below error: Fatal error: Uncaught Error: Call to a member function setCategoryEssentials() on boolean in D:\xampp\htdocs\chankya_dev\app\code\local\Lg\Essentials\...
0
votes
0answers
25 views

How to apply Custom JS on action button in UI component Admin Grid Magento 2?

I have a custom Action column in UI component Grid in magento admin. Now I want to hide it on click by jQuery or JavaScript. As the field is created in Knockout JS, I am unable to apply custom jQuery. ...
0
votes
0answers
8 views

Admin Grid Select/Multiselect Attribute Filtering Uses Frontend Values, why?

When editing a product the system correctly shows the admin values for an attribute. But the filters use the frontend value (default view, i would guess?) and not the admin value. This is quite ...
0
votes
0answers
23 views

Magento 2 in admin grid display order table data

Magento 2 in admin grid display order table data. How to display this? can you give me any suggestions please?
1
vote
1answer
26 views

Showing Customer Attribute in Customer Grid

I created the customer attribute in Magneto but it is not showing in Customer grid i need to show it without deleting the current attribute. How can i do it. My code InstallData.php namespace ...
0
votes
0answers
17 views

Magento 2: Get a list of currently applied filters in block grid in admin panel

I want to get the list of currently applied filters on an admin grid created using block. I am working on show/hide columns functionality for a block grid. I am able to show all columns for ...
0
votes
1answer
59 views

Action in admin grid magento 2 not showing

I'm having problem here. I found a similar problem with mine but the answer is not working on my code. this is the same issue with mine Edit Action column is not showing in admin grid in magento 2 ...
0
votes
1answer
26 views

Help to create grid for a table

I need to create a simple adminhtml grid to a table. I went through several tutorials on the internet and none worked. It's a simple table with an ID, text1, text2, created_at and updated_at columns. ...
0
votes
0answers
23 views

Mangeto 2 - Admin Grid Serialization of multiple input fields

I have a admin grid there I want to send 3 input fields data, one is checkbox value. That I am able to send using below code, The grid is inside add/edit cart price rule. File: sales_rule_form.xml ...
0
votes
0answers
40 views

Magento 2: How to implement columnControls(hide/show) functionality in custom admin grid

Here I have created a custom grid(inside admin) using block, now I want to add controlColumns(hide/show) functionality in this custom grid. Using Ui Component, it's easy to add this functionality by ...
0
votes
1answer
46 views

Show Tier Price in Product Grid of Sales Order creation form Magento 2

I'm trying to show the Tier Price in the Product Grid of the sales order creation page, but can't show. I tried the below code. added the column to _prepareColumns() method from Magento\Sales\Block\...
0
votes
1answer
141 views

Disable Clickable Link On Magento 2 Order Grid Rows or ID column

When our customer service people need to copy an order number from the Admin Order Grid, they try and highlight it with their cursor and copy it but that triggers the standard M2 click action to show ...
0
votes
1answer
64 views

UI component add text field for mass action in grid issue

This is my ui component: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:...
1
vote
2answers
141 views

How to add where condition in resource data model in magento 2

I need to display some records in admin data grid. I am displaying this data grid using xml file. I need to fetch only the records with status = 'Active'. How can I implement this condition in model? ...
0
votes
1answer
38 views

Magento2 - Admin grid Filter tab always show active

How to make admin panel grid filter on all the page. Tab always show active. Like a shared screenshot.
0
votes
0answers
15 views

Custom Admin Grid Export Data issue

I have created Custom admin grid and added magento default export,and i have exported the grid data for example i have the row like roles [ 1 => test,2 =>test1, 3 =>test2] . In exporte ...
0
votes
0answers
17 views

Label in Selection Column

I would like to add a label next to the selectionsColumn to be able to identify what each one is, I searched for topics here and in general searches I found nothing. where can i make this change
0
votes
2answers
76 views

Magento 2 - Admin 'Content' grids not showing (Fresh Magento Installation on MAC OS)

I'm wondering if anyone can point me into the right direction. I am using a 2015 Macbook Pro, running the latest Mac OS version. I'm trying to set up a Magento 2 locally using MAMP / Phpmyadmin / ...
1
vote
1answer
42 views

Magento 2 admin grid development

Crud Operation for Frontend and Admin. How Frontend form data save into database in Magento2 and show in Admin grid?
0
votes
1answer
29 views

adding a field to the new order customer select grid

I want to add the company name to the grid for when you make a new order in the backend and have to select the customer you make the order from. Only i can find nothing on how to add anything to ...
0
votes
0answers
14 views

How to fetch id from custom grid in Magento 1.9?

I want to fetch custom module ID and pass that ID to the form through Controller, How Can i make if($data['email']!="" && $data['phone']!="" && $data['name']!=""){ ...
0
votes
1answer
16 views

How to show and hide select box field in adminhtml form in backend

By default, Footer group select box should not be displayed. And when clicked on position select box footer it should display Footer group select box $Lastfield = $fieldset->addField( ...
1
vote
1answer
45 views

How to add a date column in Search Terms Grid Magento 2.3

I need to add the updated_at date column in the Magento search term grid. the field is presented in the search_query table. I'm trying to override layout vendor/magento/module-search/view/adminhtml/...
0
votes
0answers
59 views

Admin Grid in Magento2? dynamic Horizontal columns

I have a custom admin grid. i understand how to build dynamic veritical rows. However, I wonder if it's possible to be build dynamic horizontal columns. I would appreciate any advice. below is an ...
0
votes
0answers
47 views

Magento 2.2.8 : Customers Grid date filter returns wrong results

Using Magento 2.2.8 Locale en_GB Customer Since Date Format : DD/MM/YYYY Admin Section : All Customers Grid Trying to filter : Customer Since: 02/01/2020 - 02/02/2020 The results are not correct. ...
0
votes
0answers
22 views

Add Grid listing in UI component form and Save data

I have to create admin form using Ui component. In which I have added two tabs. In 1 tab slider information fields and in the second tab i want to add banners listing using Ui component. I have added ...
1
vote
0answers
201 views

2.3.3 Admin Product Grid Filter/Sort by Quantity?

With the move to 2.3.3 and MSI it seems that in the main admin product grid we have acquired a "quantity per source" column, non filterable we have acquired a "salable quantity" column, non ...
0
votes
0answers
25 views

I created a form and that form data is not going to grid

Here is the code doctorsform.phtml <div class="myform" style="top:47px" > <div class="col-md-6 col-xs-12 contact-custom nopadding banner"> <h3>...
0
votes
0answers
22 views

How to add where clause or join condition to the shipment grid using ui component?

I managed to display the shipment core grid using ui component on another magento admin page. Right now I would like to filter it, to add more where clauses and join it MAYBE with other tables. This ...
0
votes
0answers
47 views

How to call custom grid in modal window?

I am creating functionality where admin can set product's price specifically for a customer, I created custom tab in the product edit page, where if someone click on add specific customer modal ...
0
votes
1answer
14 views

I created one landing page, when customers fill all the details it should display in the custom module grid in magento admin panel

I created one landing page, when customers fill all the details it should display in the custom module grid in magento admin panel, how can i implement, <form action="">, what to put in ...
1
vote
1answer
18 views

How to duplicate the shipments grid in another custom url from the admin panel?

my goal is duplicate the default shipments grid in another page from the admin panel. So far I've created my layout xml: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
163 views

Magento 2: show list of all customers in custom grid

I created modal window similar functionality of when click on Add related products on product edit page, now in the modal window I need a list of all customers in grid. Currently its showing Error: ...
0
votes
0answers
35 views

Call to a member function getJsObjectName() on null

I got Call to a member function getJsObjectName() on null issue while I try to add Serializer grid in UiComponet htmlContent tag. Grid is added successfully when I add serialize section it gave me an ...
0
votes
2answers
156 views

Magento grid filter_condition_callback ignored? in Magento ver. 1.9.4.3

Magento grid filter_condition_callback ignored? in Magento ver. 1.9.4.3 Help appreciated! Stuck ;) We added a column to both the order and the product grid. This works fine. We then added a ...
0
votes
1answer
70 views

Products in Category Default Sort and Direction on Position Column

In catalog Category's assigned product grid, sort order is applied on entity_id as DESC by default like this: But I want to apply sort order by default on position as ASC like this: I found a file /...
0
votes
0answers
30 views

How to call specific method of controller?

I created a custom tab in the product edit page for product questions(Customer can ask question Regarding Products), admin can see the question asked by customer and also approve or provide the answer,...
0
votes
0answers
357 views

Magento 2 Admin Grid Create New And Edit Page

I created a post module and I am trying to create the new and edit admin pages. I used this tutorial for the admin grid however the create button and edit functions are not working I am able to ...
1
vote
0answers
23 views

Joined tables in admin form

I have two tables, one for a list of poll questions and another for the answers to a specific poll. I want to be able to display the list of questions in a grid, then save the question and the answers ...
1
vote
0answers
186 views

Magento2: Add modal popup to admin grid column using block approcah

There is an admin grid created in block method. Now I want to add a new column with a button or link that will open a popup when clicked. So instead of having the edit/view link that redirects to ...
1
vote
1answer
55 views

join() is not working

I am trying to show data of order/sales by country into admin grid, so I am joining two tables sales_order_grid and sales_order_address in my Collection.php Here is my code use Magento\Framework\...
1
vote
0answers
18 views

Report interval date column issue - M2

Admin panel > Reports > Products > Ordered It's magento's default report and result data is showing in 3rd date it's actually of 4th date. Issue is, Data is showing in one day previous in grid. ...
0
votes
0answers
139 views

Magento 2: Filter type date not working on custom grid

I have created a custom module to add two fields in newsletter grid, one field is for DOB and other field is for Preference, both the fields data is saving well but the filter for DOB is not working, ...
0
votes
0answers
12 views

How to create sign up form in frontend and save data in admin grid page in magento2?

I need to create a sign-up form in frontend and save data in DB and display the data details in frontend and form data display in admin grid.
0
votes
0answers
19 views

Change Logic of Sort Orders Magento 2 Catagory Product Tab Grid

On category pages when sorting by position on frontend 0's come after positive numbers. However on admin if category products tab when sorting by positions my 0's come before 1's which is logical ...
0
votes
0answers
16 views

How to create a grid within magento admin to display DB table information

Basically I have custom table for customer details. And I wanted to make a grid of all values from that table in admin panel.
0
votes
0answers
20 views

Grid Export rendered data is not reflecting in the exported File, Displayed ID instead of Rendered Label

Preconditions Verified in Magento 2.3.2 and 2.3.3 and found that the data displayed in the grid by rendering columns is not reflecting in the Exported file, Instead, we are getting Id of the data ...
1
vote
1answer
16 views

Change Products Images Dimensions in Catalog List Magento 2.1.6

I need to change the size of the images shown in the LIST format, but leaving the GRID format like this. The first image shows how the page is currently in LIST mode. The second image shows how I ...
1
vote
1answer
34 views

magento 2 : Add new attribute button not showing in Product Attributes Grid

In my Magento store Add new Attribute button not showing when I go to stores>product>attribute grid open but no showing Add New Attribute button.
0
votes
0answers
17 views

Magento2 product admin grid date fields

Is there an easy way to set the date fields to default to being just DD/MM/YYYY (without the hours/minutes/seconds) in the admin grid for the product listings? There is too much information when ...

1
2
3 4 5
26