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

admin gird using block, not using UiComponent

How to create amdin gird using block, but not using UI and not Teampalates.
0
votes
0answers
17 views

Magento 2: Adding full text search to custom grid results in error on count query

I am trying to add full text search to a custom grid. I have done the following steps added full text indexes to related columns in the table in the ui component xml file, added <filterSearch name=...
0
votes
0answers
12 views

Magento 2: How to get the Filters values from a grid

Before loading the grid, I want to get the filters so I can load the collection depending on the value of these filters. The thing is that I don't want the column From in my grid but I want it marked ...
2
votes
0answers
10 views

Magento 2 - uiComponent doesnt paginate properly neither export

I am trying to make a grid on the admin panel with a custom collection (custom dataSource). The problem I am facing is that it doesnt paginate properly (all records are in one page but the pagination ...
1
vote
1answer
20 views

How to get second field value from data base based in first field id in magento2 admin block form?

here i get the layer id in drop down now i have get layer type in second field in based on layer is select can any one help me how can i do that.i try $fieldset->addField( 'layer_id', ...
1
vote
0answers
10 views

How to store category id and also category name in custom table two different entity in magento 2?

How to Store category id and also Store category name in custom table two entity public function toOptionArray() { $options = []; $categories = $this->collectionFactory->...
2
votes
1answer
44 views

Admin GRID Not Showing Data with ui_component

I am creating a custom module to show some listing data submitted from frontend to database after save to show it in admin GRID. Saving data is working fine but listing in GRID using ui_component is ...
1
vote
0answers
15 views

Magento 2: How to create custom grid report based on Order collection?

I want to create a new report showed as an option at Reports -> Sales -> My New Report This new report should be based on the Orders collection joined to other existing Magento core tables, as ...
1
vote
1answer
65 views

How to Create CRUD operations with Admin Grid in Magento 2

Hello, How to Create the CRUD operations with Admin Grid in Magento 2. I want to :- 1.) First of create frontend input form. 2.) frontend input form data get in admin grid. 3.) In admin grid Create ...
1
vote
1answer
26 views

How To Add Fixed Filter In Custom Admin Block Grid in Magento 2?

Here is my custom grid i wan to show only those data that status is paid but now the data present with paid and unpaid both . how can i set default filter to these custom block grid... here is my ...
1
vote
1answer
35 views

Magento 2.3 On mass action how can I refresh listing grid using ajax (without page refresh)

As I see by default once magento2 mass action applied, default logic is to refresh the page. I would like to have grid refreshing without actual page reload but rather from js once massaction ...
0
votes
1answer
28 views

Magento 2: How to get All Active Categories in Custom Module Admin Form Dropdown?

Here is my form UI component code: <field name="category_id"> <argument name="data" xsi:type="array"> <item name="options" xsi:...
1
vote
2answers
41 views

Magento 2 : How to create a ConverToCsv.php for company admin grid export?

I want to create a custom export csv file for company grid.I got to know that we can create ConvertToCsv.php to do that. Can someone explain steps on how to do that?
0
votes
0answers
8 views

Add editable attribute column in products in category grid

I have added an extra editable attribute column in "Products in category" grid. I am using the below link to add the column. Add filtrable attribute column in products in category grid Here ...
1
vote
2answers
45 views

Missing required argument $mainTable on Collection

I have a custom grid, where it gets some data from the shipment table. This is the error message received: Missing required argument $mainTable of Vendor\Module\Model\ResourceModel\Order\Shipment\...
1
vote
3answers
60 views

Magento 2 - Custom Grid Action 404 error Add Action Throws 404 Error

i Develop Simple Crude Operation Module That Throws 404 etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
3
votes
1answer
26 views

Add color picker in system.xml in serialized grid in Magento 2

I want to assign the color code to a particular customer group by the system.xml file. I have successfully created the grid, but I am facing difficulty adding the color picker in the color column of ...
1
vote
0answers
11 views

How to Make Grid Component Select Filter Convert to the Like Comparison Operator in SQL

when a filter dataType is configured as select. It will be converted to filterName=selectedValue in the final SQL. When dateType is text, it will be converted tofilterName like '%inputValue%'. My ...
1
vote
1answer
15 views

magento grid search is not triggered if both search term and filters unchanged

In magento grid setting, by default the search request call (ajax call) is not triggered if search term and filter remain unchanged since last search. How can I force it to send out search request ...
1
vote
1answer
20 views

I am facing this error while fetching data to admin grid in Magento

I am facing this error while fetching data from custom table in Magento 2.3.5 the error is: Argument 1 passed to Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider::...
1
vote
1answer
37 views

Custom column sorting(DESC and ASC) not working in custom grid Magento 2.3.5

Actually in below listing.xml file i am trying to sort customer_id column DESC/ASC but not working fine. After using below code it's loading the data in ASC order only if sort customer_id column one ...
0
votes
0answers
8 views

select element or add filter after massaction

I need your help because I really can't move forward with my problem. I would like to select or filter the elements that have been manipulated during my massaction in sales_order_grid. So I would like ...
0
votes
2answers
30 views

My custom admin grid isn't showing?

I've been fighting with a problem for the last couple of days (I'm new to M2), so I hope you can help me further in this task to find a solution. I've been following this guide: https://www.mageplaza....
0
votes
0answers
75 views

error: “UI component could not be rendered because of system exception”, errorcode: “42” Custom Grid Magento 2.3.5

I have created 10 columns and but if i am using 9 columns then grid is loading but once i enable 10th column it's giving an error:"UI component could not be rendered because of system exception&...
0
votes
0answers
6 views

Magento2 Show Store Purchase Point as 1 line instead of old &nbsp; spaced multiline

So we've been using Magento since 1.3 and now working with M2. Why is the Store Purchase Point still a multiline spaced with   rubble? I would expect Spacing being tackled by css or some form of ...
0
votes
0answers
8 views

Magento2: Backorder Settings + Backorder Min Qty in catalog grid?

So we work with backorderd in M2. And are using backorders. So it would seem logical to see/access these values in the product grid. Question: How can we see the backorder Settings + especially ...
0
votes
0answers
12 views

Admin Panel Grid - filter without column

Does it possible to create filter on grid without related column in grid? Now I'm using code like this: <column name="name" sortOrder="30"> <settings> ...
0
votes
0answers
11 views

Magento 2 backend grid not sorting date

I added a DateColumn component to my backend grid which looks like this <column name="booking_from" class="Magento\Ui\Component\Listing\Columns\Date" component="...
3
votes
1answer
19 views

Display pie chart at order invoice grid

I want to display the pig chart on the invoice grid and the pie chart should be updated after applying the filer in the grid. Well, I am able to display the Pie chart on the sales order invoice grid ...
0
votes
1answer
8 views

How to use a modifier to disable an UI Component field?

Hi i'm new at magento 2 and i want to disable an UI component field while edit a product, and shows the field while creating new product.
1
vote
1answer
28 views

How to change date format of yyyy-mm-dd for dd-mm-yyyy on admin grid?

Hi i'm new at magento 2 and i want to change the date format on admin grid of yyyy-mm-dd for dd-mm-yyyy.
0
votes
0answers
14 views

UI component admin action edit button AND Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested data doesn't exist

Hi, i'm new at magento 2 and have a question. How to do the "Alterar Pontos" button, do the same action as "edit column" ? the "Alterar Pontos" button is creating a new object. i just want to edit ...
0
votes
0answers
6 views

Magento 2 Grid Add column with href and hash tag

i want to show url in grid with hash tag below it currently used , is there way to hash tag in end $this->addColumn( 'edit', [ 'header' => __('Download'),...
0
votes
0answers
9 views

Customers Grid's Filters Button is disabled

I just mount a developer environment (copy from my production environment). When I log in to the administrator and go to Customers > All Customers, the Customers Grid display weel. However, the "...
0
votes
0answers
18 views

Magento 2 Use Filters on Custom Columns that are not attributes in the db-schema

I got a custom grid table in ui components I got a column ("Cifra Corrente" -> current_amount) that IS NOT an attribute in my db-schema, it's calculated in my dataProvider getData(), I calculate it ...
0
votes
0answers
6 views

Magento 2 custom admin table DateTime slider doesn't work

I've been trying to get the Magento Admin to let me enter a time using the proper components, however it appears to error out. I can't even get it to match the Date above it. Posted below are the ...
0
votes
1answer
27 views

How add new button to grid product

I want add new button near Add Product button in grid product in backend.
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
17 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
7 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
20 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
15 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
50 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
33 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
113 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
48 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
2 3 4 5
26