Questions tagged [custom-admin-grid]
The custom-admin-grid tag has no usage guidance.
27
questions with no upvoted or accepted answers
6
votes
1answer
1k 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 ...
2
votes
0answers
32 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 ...
2
votes
0answers
84 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!
1
vote
0answers
23 views
1
vote
0answers
289 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
0answers
43 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.
...
1
vote
0answers
36 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.".
...
1
vote
0answers
16 views
Magento 2 Custom Gride Throw Error
I create custom grid but it throw error on console here is a screen shot
1
vote
0answers
19 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',
'...
1
vote
0answers
147 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\...
1
vote
0answers
115 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?
...
0
votes
0answers
6 views
Error: Call to a member function setActive() on bool display in Magento Admin Grid Edit and Add Post display
This is my code for Add New Post action
<?php
namespace Vt\First\Controller\Adminhtml\Post;
use Magento\Backend\App\Action;
use Magento\Backend\App\Action\Context;
use ...
0
votes
0answers
20 views
Apply custom filters on custom Collection non db data provider
This is my dataprovider class under UI\Component\Listing\DataProvider\
namespace Arb\ArbReports\Ui\Component\Listing\DataProviders\Arb\InventoryReport;
use Magento\Framework\App\Request\Http;
/**
* ...
0
votes
1answer
28 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 ...
0
votes
1answer
18 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 ...
0
votes
0answers
19 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 ...
0
votes
1answer
102 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/...
0
votes
0answers
13 views
How to alter customer admin grid?
I'd like to ask how to add one filter to customer admin grid to show only active customers. The column name is is_active. Thank you in advance
0
votes
0answers
12 views
Magento 2 - Admin Grid Listing with Third Party API
I created admin grid according to devdocs guide. But my requirement is to list third party API data into admin grid. Let's take example of https://jsonplaceholder.typicode.com/users API. How I can ...
0
votes
0answers
12 views
How to get category collection as per store wise in admin from?
when i select English than the category comes is English store
when i select Arabic than the category comes is Arabic store category
how these possible can any one have help me..
0
votes
0answers
13 views
How to enable search for rendered field in custom module admin grid
I have added a custom column to the "Company" table of the B2B magento version. And rendered it on the grid like following.
'000'.$actual_column_value.' '.'Another string from other table'
...
0
votes
0answers
73 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
145 views
Custom module admin grid show blank page in magento 1.9
I have created one simple form on frontend that will submitted by customer and create one menu in admin panel to show only the grid for same, no add-edit form.
When I click on the menu it will ...
0
votes
0answers
26 views
In magento2, how to hide a ui-component grid row when status is “New” in admin
In magento2, how to hide a ui-component grid row when the status is "New" in admin.
etc\di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
110 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 ...
0
votes
1answer
173 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.
0
votes
0answers
28 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 ...