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
1answer
13 views

How To Add Sorting Ascending And Descending Order in custom attribute of customer grid in magento 2

I Created the Customer Custom Attribute using Upgrade Schema Like This public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { $setup->startSetup(); ...
0
votes
0answers
16 views

How to Apply Custom Filter In Customer Admin Grid With customer attribute in magento 2

i wan to add custom filter with drop down value yes or no is select yes than apply filter and get that that custom attribute value are something if apply no than apply filter and get that value that ...
0
votes
0answers
10 views

Magento 2: Need to show the custom attribute in the customer address grid

I have created the custom customer address attribute (set the input type as a dropdown) and tried to show it on the customer address grid but its not working as expected. I think we need to do some ...
0
votes
0answers
12 views

Magento 2 admin grid join query not working with date filter

I have joined two tables like below in my ResourceModel Collection file. protected function _initSelect() { $this->addFilterToMap('entity_id', 'main_table.entity_id'); $this->...
0
votes
0answers
15 views

How can I customize the filter of the product grid on the admin side in order to filter by RANGE

hope you are all good and in great shape. TLDR: How can I filter my product grid on the admin side using a WEIGHT RANGE? I am a newbie in Magento and I have been doing some progress over the last ...
0
votes
0answers
11 views

Magento 2 Admin grid requires setup:upgrade for changes

I have an admin grid with a custom collection but changing database name requires setup:upgrade and setup:di:compile for changing in admin grid.
0
votes
0answers
10 views

how to custom value which will be exported?

I have a grid and buttons for exporting like this. There is field status in my grid. The value is 1 or 0. After exporting the grid, the value of this status is 1 or 0 in the CSV file. How can I make ...
0
votes
1answer
12 views

Magento2.3.5 Di Compile Breaks custom module admin grid

I have an issue whether in developer or production when I run php bin/magento setup:di:compile I get Fatal error: Uncaught Error: Call to a member function setActive() on bool in /var/www/vhosts/dev....
0
votes
0answers
29 views

magento2 category filter in product grid

I need to add a category filter in the product grid. My grid is made by the renderer. Following is the code I have added for price & name $this->addColumn( 'name', [ ...
0
votes
2answers
41 views

Attributes showing values instead of their labels. Exporting in customers grid: Magento 2.3.5

I Have two custom attributes in my customer grid, named old_customer (1=>Yes,0=>No) and zone (1=>India, 2=>UK, 3=>Others ) , both attributes is_used_in_grid is true . but while I'm ...
0
votes
0answers
13 views

Save button does not return to admin grid

I have a plain old save button on an admin form, but it doesn't return me to the grid after saving. It's more or less a copy of Magento\Customer\Block\Adminhtml\Edit\Address\SaveButton. What could be ...
0
votes
0answers
15 views

How to Add Custom mass action in Customer grid?

I'm using Magento 2.4.1, i want to sync multiple customers data to another place using mass action in Magento 2 backend customer grid, the problem is I don't know how to add an option in the mass ...
0
votes
0answers
10 views

Populate Data for custom Column Customer Group Under Report Sales Order

I'll have to add new Column (Customer Group Name) Under the Report -> Sales -> Orders Current Progress I have added New Column under the app/code/Vendor/Module/Block/Adminhtml/Sales/Sales/Grid....
0
votes
1answer
35 views

How to add working filters for max_sale_qty and manage_stock in Product grid in Magento 2.3?

I am trying to add working filters for max_sale_qty and manage_stock in product grid in Magento 2.3. I got the columns Max Sale Qty and Manage Stock in product grid to display the records using ...
0
votes
2answers
17 views

Where is the template file for the front-end grid view in Magento 2.3?

I need to overwrite the front-end grid view but cannot find the correct file. This is the grid view that appears as a front end option for categories and search - not the admin grid.
0
votes
1answer
29 views

How to Create editable filed in sales > order Grid in Magento 2

How to create editable delivery date columns in order grid page. Please Advice me.How to Create Thanks.
0
votes
0answers
20 views

After deleting the module I'am getting “class does not exist” - magento2.3

I had created the dropdown action in the admin panel in the customer grid after that I had deleted the module but the view all customer page is getting an error in the admin panel as the class does ...
0
votes
0answers
14 views

Magento 2 : Expandable Column component - how to read data by row?

I need to use Expandable Column component in grid. I used code from documentation <column name="last_comment" class="ModuleCore\Order\Ui\Component\Listing\Column\LastComment">...
0
votes
1answer
16 views

Magento 2 custom admin grid keeps loading and never finishes

I added a custom admin grid, but it keeps loading and loading and it never ends. The table has just like 50 rows Here is an image Also here is my ui_component, I feel that something is wrong here, ...
0
votes
1answer
235 views

Show select options values on condition in magento 2 admin grid

I am creating a module where I am listing a custom table, in admin area. I have a status field in the database. What I want is to disable/remove some of the select option from the status field,when ...
1
vote
1answer
28 views

Add column to order grid in customer edit page - M2

How can i add new column in order grid in customer edit page? I want to show custom columns records from sales table in order grid in customer edit page. I found this file but also not able to ...
1
vote
0answers
22 views

How to send param to mui/index/renderer in listing grid

I'm building an admin grid, i'm sending a parameter to the controller, but when de datasource updates grid via ajax on mui/index/renderer, this url parameter is losing, how can i send this parameter ...
3
votes
1answer
33 views

How to reset the products grid filter don't loading in the admin panel?

My backend keeps freezing and can't do anything with it. I think it is due to the filter that was put last week on the products page to show 1000 products in the grid. I tried to open it in an ...
2
votes
1answer
50 views

How to create a Grid View Slider. Magento 2

I'm trying to create View Slider in my custom grid like for that I've followed This and This but in the both cases when I click on my custom link or button it gives me an error in console Now I dont ...
0
votes
0answers
17 views

How to filter custom comma separated sales order attribute in sales order grid?

I created a custom attribute that saves comma separated values in it for orders. Now I want to display them in the sales_order_grid and be able to filter for each value. How can I implement a custom ...
0
votes
0answers
9 views

Openmage LTS - Change the “Order No” filter to a From … To filter

I would like to know if there is a way to modify the Magento admin order grid, so that the order field No from which we can filter by order, could have two fields From... To to filter all the orders ...
0
votes
0answers
13 views

How to do apply filter of custom field value in Sales Order in Admin Magento 2?

I have created some fields and save data in quote and sales_order table on my order success. I have successfully display the data in Admin Sales Order but it doesn't apply filter on it as it will ...
1
vote
0answers
40 views

Add caption or helper text to admin filter in magento 2

I added a filter in my admin panel. But i want to add a helper text before or after the input field. Like the 'more information about...' in this screenshot: Right now the field config I have is ...
0
votes
1answer
40 views

Magento 2 hide button Search from Grid(Created using block)

I want to hide Search button from admin grid which is created using blocks and not ui component, How should do I that?
1
vote
0answers
43 views

Magento 2 how to add product grid in custom module using ui component

Magento 2 : I have add product grid from the below refferance Once I edit then save again the records at that time assigned products are not saving into the database, does anyone know why? Magento 2 :...
0
votes
0answers
10 views

Customize sales_order_grid ONLY IN custom module

I have created a custom module and admin path. I set my layout file to render "sales_order_grid". Here is the content of view/adminhtml/layout/custommodule_layout_index.xml <body> ...
0
votes
1answer
7 views

Changed value in inline edit field can not be saved in MFTF test

In a custom admin grid I try to change a value in an inline edit field and save it afterwords using a MFTF test. I use AdminCustomerGridInlineEditorSection as template and select the inline edit field ...
1
vote
1answer
102 views

Create filterable admin grid from external database table

As the title says - I am trying to create an admin grid from an external database-table. I was able to create one with an ui_component and some dirty tricks in my data provider - but the problem is, ...
0
votes
0answers
10 views

Unable to extend class extends AbstractCollection in Grid/Collection Magento 2

Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, Magento\Framework\Event\ManagerInterface $eventManager, $mainTable, $eventPrefix, $eventObject, $resourceModel, $model = '...
1
vote
2answers
31 views

How to show specific orders in the order grid based on admin user?

I want to show orders which are assigned to the specific admin users. If any admin user is logged in then orders which are assigned to logged-in admin user will be displayed in an Order grid. Note: ...
0
votes
1answer
34 views

Add filter to custom grid created as ui_component

I rephrased my question and got it working (adding filters to a custom grid, that was made with a custom data provider). See question and answer here: Create filterable admin grid from external ...
0
votes
2answers
46 views

Magento2.4 order grid status color

I want to add color to order grid on magento2.4 admin panel, sales -> orders. Each status should have own color, forexample status "complete" shows purple and all rows who has complete ...
1
vote
1answer
49 views

How to filter your admin grid collection based on certain condition in Ui component xml file

I want to filter my Grid based on condition that only active entries should be visible on the grid and not all entries from the table I am using ui component to create grids
0
votes
0answers
43 views

Magento 2: Add datepicker in massaction field in block grid

I am trying to show the date picker in the mass action field in the custom block grid. Here is my code: $this->getMassactionBlock()->addItem( 'update_eta', [ 'label' =>...
0
votes
1answer
115 views

How to get product's details using order id in Magento 2 admin grid?

In my Custom Module Magento 2 I want to get Ordered product info by using order id using the Admin grid. Currently, I get the order id but I want the details of the ordered product also how did I ...
0
votes
2answers
70 views

how to get attribute_set_id in magento 2 custom collection

I have created custom table and display the values as grid in admin by UI component.In my custom table already I have SKU column .now I need attribute set id Name of the product in custom grid .how to ...
0
votes
0answers
14 views

How to change the number of items per row in products grid Magento 2.3.5

How to modify magento 2 to show 3 items per row in product grid instead of the default 4? I tried to play with /var/www/magento2/vendor/magento/theme-frontend-luma/Magento_Catalog/web/css/source/...
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.
1
vote
0answers
110 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
47 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
20 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
45 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
13 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
245 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
30 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
2 3 4 5
26