Questions tagged [custom-admin-grid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Show wishlist item against each customer on Admin Grid

I am trying to display wishlist items against each customer. And I am unable to display the multiple products in the grid. Instead of showing wishlist_id, I want to show wishlist product or product id....
0
votes
2answers
29 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 <?...
0
votes
0answers
21 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 ...
0
votes
1answer
22 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/...
0
votes
0answers
9 views

Magento 2: Display guest customer name on custom admin grid

This is the dataprovider code which gets the customer's info in my admin grid. It doesnt show the customer name for guest customer. How can I show customer name for guests customers? /** * @...
0
votes
1answer
20 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\...
0
votes
0answers
19 views

How to display selected/Filtered rows in admin grid ( Ui-component predefined filter)

I have created a custom grid in Magento 2 using ui component. Currently it displays all the records to each admin user but i want to show data on the basis of admin user name. i.e if User A logs in, ...
0
votes
0answers
36 views

Magento 2 custom Save button: TypeError: source.save is not a function

I have custom admin grid and try to add new entity in database. But when i click to Save button, browser get me subj and not work. What am I doing wrong? Thanx. form: <?xml version="1.0" ...
0
votes
1answer
66 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\...
0
votes
0answers
30 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
46 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 ...
1
vote
1answer
44 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
2answers
414 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 ...
0
votes
0answers
31 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
331 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/...
1
vote
0answers
24 views

Admin grid not shown in magento 2.3.5 version

Admin grid not shown in magento 2.3.5 version
1
vote
1answer
332 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
1answer
594 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
30 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 ...
0
votes
2answers
524 views

How to change custom UI grid collection based on custom attribute value in magento 2

I have created custom field in admin user creation form.Based on the value in this field,My custom module grid collection will be loaded.How to acheive this?
2
votes
1answer
140 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/...
0
votes
0answers
129 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 ...
1
vote
0answers
359 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
44 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
2answers
243 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 ...
1
vote
0answers
38 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
1answer
54 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 ...
1
vote
3answers
1k 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"?> <...
1
vote
0answers
17 views

Magento 2 Custom Gride Throw Error

I create custom grid but it throw error on console here is a screen shot
1
vote
2answers
1k 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.
0
votes
1answer
269 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.
1
vote
1answer
800 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 ...
0
votes
1answer
209 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 ...
0
votes
3answers
325 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?
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 ...
0
votes
1answer
897 views

add filter before load data in custom admin grid in magento 2

Here i have to add filter in charity and fee column,if charity is filled then display in grid otherwise that data should not show in grid. But all record's are displayed. I have 2 order in one order ...
2
votes
0answers
33 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 ...
0
votes
2answers
242 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?
2
votes
0answers
102 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
35 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 ...
1
vote
1answer
277 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
1
vote
3answers
2k 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 ...
0
votes
0answers
30 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 ...
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
194 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
1answer
43 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 ...
1
vote
0answers
133 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? ...
2
votes
2answers
1k 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