Questions tagged [custom-admin-grid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 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
12 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
38 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
17 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
19 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
11 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 ...
1
vote
0answers
21 views

Admin grid not shown in magento 2.3.5 version

Admin grid not shown in magento 2.3.5 version
0
votes
0answers
10 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
12 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' ...
1
vote
1answer
54 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
0answers
49 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
1answer
111 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
19 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
0answers
118 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
23 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
2answers
125 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
102 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
92 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
235 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
41 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. ...
0
votes
0answers
35 views

Magento2: Extending adminhtml grid.js with custom rowClickCallback

What is the best method to rewrite the adminhtml grid (with serializer) to modify the rowClickCallback function? I want to replace the rowClick function in my custom module form: rowClick: function ...
1
vote
2answers
128 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
34 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
49 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
501 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
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
2answers
769 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
128 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
634 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
162 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
198 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?
5
votes
1answer
852 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
603 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
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 ...
0
votes
2answers
138 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
79 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
32 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
247 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
1k 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
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 ...
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
133 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
39 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
112 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