Questions tagged [custom-admin-grid]

The tag has no usage guidance.

26 questions with no upvoted or accepted answers
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
2 votes
0 answers
61 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
41 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
0 answers
661 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
  • 160
1 vote
0 answers
172 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,451
1 vote
0 answers
578 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
180 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
296 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
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
460 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
178 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
0 answers
37 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
67 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
102 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
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
248 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
0 votes
1 answer
293 views

Magento 2: Get collection issue in admin grid

I face one issue when get collection in admin grid. Call to undefined method Vendor\Module\Model\ResourceModel\VendorTest\ModuleTest\TestCollection::getMainTable() Vendor\Module\etc\di.xml <?xml ...
Payal Patel's user avatar
  • 1,511
0 votes
0 answers
911 views

Magento 2 Filter admin grid with custom columns

I have a custom table that is assigned to multiple store so i do have another table for their relationship. my problem now is i want to filter my custom table by store in the admin grid. i was able to ...
mendz's user avatar
  • 143
0 votes
1 answer
1k views

Apply Filter not working on Magento 2 for custom column Sales 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. my view/adminhtml/...
Prits's user avatar
  • 626
0 votes
0 answers
223 views

How to create a custom table in Magento 2.3 using XML (Declarative Schema) and integrate in custom admin grid?

I need to create an admin grid and for that i need to create a custom table using Declarative Schema in Magento 2.3. How to create a custom table using declarative schema and integrate the table with ...
IntraPersonalLearner's user avatar
0 votes
0 answers
41 views

How to show uploaded image url in custom tab in admin grid in Magento2

I want to show the uploaded image URL in a custom tab in admin grid in Magento 2. In the custom tab, image name is coming from the database. Any help will be appreciated. As shown in the picture I ...
Ashish Ramchandani's user avatar