Questions tagged [custom-admin-grid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
1 answer
2k views

Magento 2 How to upload csv in admin and update data in custom admin-grid/table?

I am trying to upload csv that I have exported from existing admin grid. Adding additional data as perticular columnwise in same csv. Howcan I upload/import that new .csv in admin and update data in ...
Dinesh Rajput's user avatar
4 votes
2 answers
4k views

Filter Not Working for custom column ui_component grid Magento 2

I have a grid with an admin UI component. There is a custom collection in the column. But when I apply the filter for that column then it shows me an error. Please check my code below for the ...
Sunny Rahevar's user avatar
3 votes
2 answers
2k views

How can I hide the Paging in the Grid?

I used the Grid to create a report which shows at most 5 rows so I'd like to hide the Paging altogether. Does anyone know how to hide it? Thank you for any help! Tim
thetimmer's user avatar
2 votes
1 answer
419 views

Add default Export button in Admin Grid Ui-Component

here is my listing code <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Ui/etc/...
Msquare's user avatar
  • 9,043
2 votes
0 answers
67 views

Magento2 how to display video as a thumbnail image in admin grid

I want to display video as a thumbnail in the custom admin grid. you can get the reference from the below screenshot. https://i.imgur.com/UTBHZvM.png
Ekta's user avatar
  • 101
2 votes
0 answers
42 views

How to remove multiple results from admin grid in ui-component Magento 2

How to Remove the multiple results in the grid from the same date in admin grid UI component Magento 2 - I have got multiple results for 1 day. - I need a single result for a single date. <column ...
BM ZALA's user avatar
  • 21
2 votes
0 answers
144 views

How to add rowspan class in admin grid?

I just saw in Report > Order count page, if choosing "show by month", it will show the merged row blanks. How can I set the rowspan class by code? Thanks!
Artick's user avatar
  • 31
1 vote
3 answers
2k views

How to Hide Export XMl Opition in Magento 2

I Want to Hide Export XML Option in Magento 2 Admin Grid I only Want to Export CSV File and i am using Custom Controller for Conversion Need Help <?xml version="1.0" encoding="UTF-8"?> <...
Waqar Ali's user avatar
  • 2,319
1 vote
1 answer
184 views

Magento2: How to add product images to custom ui-component admin grid

I have a custom grid using ui component method in back-end to show data from a custom table with columns as follows: id product_id user_id store_ids status adminassign created modified ...
coderaiseR's user avatar
1 vote
2 answers
2k views

Magento 2: How to disable or remove Product SKU field in the admin panel

Magento 2: How to disable or remove Product SKU field in the admin panel see image below for more clarification.
Ali Sultan Khan's user avatar
1 vote
1 answer
1k views

Magento 2 admin grid first row empty issue

I have custom module and implemented custom grid. Everything working fine as expected. only issue with while export data, i am getting first row as empty. From second row on words showing column ...
balu's user avatar
  • 315
1 vote
2 answers
1k views

Magento 2 : Custom Module Admin Grid is not Showing

My Custom module is working in Magento 2.4.0 but when I installed in Magento 2.4.3 version it's showing below error in grid section. Type Error occurred when creating object: Rh\CategoryGallery\Model\...
sky's user avatar
  • 1,397
1 vote
1 answer
135 views

custom grid filter doesn't work when filtering products by category (bl_customgride module)

I'm using BL_CustomGrid extension for customising admin grid, when I filter products grid by categories it throws me the error below, I couldn't find out how to diagnose the problem, if anyone has an ...
anass hl's user avatar
1 vote
1 answer
1k 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.
Rafael Fagundes's user avatar
1 vote
2 answers
420 views

How can I get my custom news collection on frontend in magento 1.9?

I had created a custom module for the news grid and form in Magento admin. I need to create custom pages with news collection on my custom news list page and a custom news detail page. How could I get ...
IntraPersonalLearner's user avatar
1 vote
1 answer
428 views

Magento 2 : base 64 is not defined error in image upload in admin grid

I want to upload an image from admin grid after selecting the image rounds goes loading and console base64 is not defined is coming. screenshot
Ashish Ramchandani's user avatar
1 vote
1 answer
76 views

magento 1 - How to addClass without JS to the dropdown filter in Admin custom grid

I want to add class to the magento admin custom grid filter dropdown. I have dropdown in one filter column and I dont want to use JS to reduce client side load. Is there anyway to add class while ...
Mansi Raja's user avatar
1 vote
0 answers
689 views

How to add a input field in admin grid and post it using mass action- Admin Panel

The question is how to get the input data in mass action. I have currently added a input field in the admin grid. Like this: I have added the input field using the block. I want to post that values ...
Jason's user avatar
  • 170
1 vote
0 answers
181 views

How to make image open in new Tab after clicking on preview, Uploaded via custom form

I have created a custom form in admin and added a image upload field in the form. When we edit a form having uploaded image in it, it shows preview of that image as small thumbnail. After clicking on ...
PRABHAT MISHRA's user avatar
1 vote
0 answers
37 views

Admin grid not shown in magento 2.3.5 version

Admin grid not shown in magento 2.3.5 version
Divya Sekar's user avatar
  • 1,473
1 vote
0 answers
584 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 ...
coderaiseR's user avatar
1 vote
0 answers
184 views

How to show Product Attribute name in column?

I Have a custom table that saves product attribute Id. For E.g id, color_id, brand_id 1,123,122 Now I wanted to show attribute option value( Color name, brand name) on Admin grid of custom module. ...
Rakesh Gangani's user avatar
1 vote
0 answers
329 views

Regarding Full Text Search

I have created custom grid using UI component. My Full text searching showing error "Something went wrong with processing the default view and we have restored the filter to its original state.". ...
Soni5041's user avatar
  • 145
1 vote
0 answers
31 views

Magento 2 Custom Gride Throw Error

I create custom grid but it throw error on console here is a screen shot
Chirag Gondaliya's user avatar
1 vote
0 answers
40 views

How to add dynamic row in custom module magento 2 [duplicate]

I have created the adding dynamic row entity in config module, here is the snap shot for same, Now i want the same functionality while i am adding or editing the form through admin grid . Please ...
Soumen Pasari's user avatar
1 vote
3 answers
3k views

Admin Grid Mass Action delete not working for custom module for Magento 2.2.4

I am new to Magento and building a custom module. I need to show the admin grid to list data and it’s working fine. Also trying to add mass delete option but that’s not working. Getting below error ...
GeorgeM's user avatar
  • 109
1 vote
0 answers
23 views

through image name display image in custom tab in admin grid

hello everyone i want to display the uploaded image my code is below info.php $fieldset->addField( 'image', 'text', [ 'name' => 'image', '...
Ashish Ramchandani's user avatar
1 vote
0 answers
481 views

Unable to create admin form using layout

This Is Edit.php file Magneto\BookFreeLayout\Block\Adminhtml\Demo\Edit.php <?php namespace Magneto\BookFreeLayout\Block\Adminhtml\Demo; class Edit extends \Magento\Backend\Block\...
Harsh Jayswal's user avatar
1 vote
0 answers
179 views

How to render product name in UI component admin grid based off product id in a custom table in Magento 2

I'm completely new; I don't even have a thought process on how to accomplish this. Do I join collections? Do I join tables? When/how/where? How do I render this in a UI component grid listing? ...
john smith's user avatar
0 votes
2 answers
342 views

Magento2: Date showing wrong on grid column

I created one grid and showed the date there. Database data and grid values are not matched. Grid value showing 1 back date instead of same as database. Below is my DB table value: And below code ...
Ravi Soni's user avatar
  • 1,809
0 votes
1 answer
583 views

how to add content limit on custom admin grid

I want to add content limit to 50 characters on content of the admin grid for specific column. Can anyone help me out. below is the code used for this grid : /app/code/Vendor/Module/view/adminhtml/...
PRABHAT MISHRA's user avatar
0 votes
2 answers
2k views

Filter is not working on Custom Values in Magento 2 Order?

I have save my custom data in quote and sales_order table and show data in Admin grid but filter is not working in this as it is search in sales_order_grid table in Magento 2. I have found out a ...
Prits's user avatar
  • 626
0 votes
3 answers
631 views

How to add Approve and disapprove in admin grid Magento 2?

I have already create admin grid in which there is one column status i want to add two functionality Approve and Disapprove which are store in database how can i do that?
Vardhman Kamani's user avatar
0 votes
3 answers
563 views

How to add Color Picker in Admin Ui Component in Magento 2?

My file path is app/code/ColorPicker/Sample/view/adminhtml/ui_component How can I add color picker in Admin Ui Component in Magento 2?
Vrajesh Patel's user avatar
0 votes
1 answer
171 views

REST API data display in admin grid Magento 2.4.4

How does REST API show data in Admin Grid ? Thank You
Ronak Rathod's user avatar
  • 6,309
0 votes
1 answer
407 views

Magento 2 : Create comma seperated sku filter for custom product grid

I am using Magento ver. 2.4.4. I have a custom grid, displaying the below fields data. item_id, rma_id ,product_sku ,order_item_id ,reason_id resolution_id ,condition_id. I want to create a ...
Hamendra Sunthwal's user avatar
0 votes
1 answer
222 views

Magento 2 How to get Admin Customer Edit Page edited Tab details

Please check the screenshot highlighted part, How can I get which tab is edited when save the customer
Lakshitha Mathngadeera's user avatar
0 votes
2 answers
3k views

How to add custom select options in a custom admin form

I am creating a custom fom in admin and want to load the custom select option in the form as a select field options. Below is my code : app/code/Vendor/Module/Block/Adminhtml/Grid/Edit/Form.php <?...
PRABHAT MISHRA's user avatar
0 votes
1 answer
2k 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 ...
Daniel_C's user avatar
0 votes
1 answer
223 views

Magento 2 How make title required in xml file

Its the part admin grid Add button form. I want to make the title field Required. <block class="Magento\Backend\Block\Widget\Grid\Column" as="title"> <arguments> <argument ...
Mustafa Ali's user avatar
0 votes
1 answer
713 views

Magento 2 : How to hide add product button from admin panel

How I can hide add product button from admin panel? see image below for more clarification.
Ali Sultan Khan's user avatar
0 votes
1 answer
442 views

Magento 2 How to show column on the basis of admin config value in admin custom grid by using UiComponent?

I had created a Custom Admin Grid by using uiComponent in which I am showing Order Details, please check below Screenshot I had created System Configuration to show IGST, CST, SGST field or not, if ...
temper's user avatar
  • 984
0 votes
0 answers
72 views

How to Create a Product Grid in Storefront Using hyva-themes/module-magento2-admin Module?

Question: I've been using hyva-themes/module-magento2-admin to simplify admin area grid development in Magento 2, and it's been fantastic. Now, I'm looking to leverage the same module to create a ...
Adil Popatiya's user avatar
0 votes
1 answer
33 views

Magento 2.4.5 product link at admin order gird view

I want to show the product link on order admin onclick go to storefont product link or onclick to product thumbnail it open store product ordered image by new tab exabople link html http://example.com/...
Bbaodenx3's user avatar
0 votes
3 answers
1k views

Magento 2 : how to get category name in my custom product grid

My prepare collection code : protected function _prepareCollection() { $store = $this->_getStore(); $collection = $this->productFactory->create()->getCollection()->...
test testt's user avatar
0 votes
1 answer
69 views

Admin grid collection addFieldToFilter no working with dynamic data

I'm facing an strange issue in fetching filtered data in admin grid. I had tried to filter the collection using _initSelect function <Module>\Model\ResourceModel\Custom\Collection.php <?php ...
Mandar Parbate's user avatar
0 votes
1 answer
109 views

Issue with showing coupon code in admin grid

I am trying to add new functionality and need to show coupon code in the Orders grid. I was able to show the column in the grid but it is not showing the data. I followed this link https://meetanshi....
Charanjeet Singh's user avatar
0 votes
1 answer
456 views

Rows are not deleting in the admin grid

class Delete extends \Magento\Backend\App\Action { /** * @var \Webkul\Grid\Model\GridFactory */ var $postFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Webkul\Grid\...
kks's user avatar
  • 19
0 votes
0 answers
21 views

After saving the custom form it should direct to custom admin grid but directing to dashboard with the invalid key message and saving the data too

How to solve invalid security and form key issue?
kks's user avatar
  • 19
0 votes
1 answer
252 views

Magento 2.4 - Getting error on admin grid page for custom module

I am creating a custom module in magento 2.4 for admin grid. Tried everything but on grid page getting below error - Type Error occurred when creating object: Vendor\Module\Model\ResourceModel\...
Vinaya Maheshwari's user avatar