Questions tagged [custom-column-grid]
The custom-column-grid tag has no usage guidance.
44
questions
10
votes
1
answer
11k
views
Magento 2 Filter not working while Custom column added on Sales Grid Using Ui Component
I have added Custom column track_number into sales>>Order grid at Backend.
<vendor_name>/Sales/view/adminhtml/ui_component/sales_order_grid.xml
<?xml version="1.0" encoding="UTF-8"?>
...
7
votes
0
answers
1k
views
How to add dynamic custom column in UI component
I have configured UI component columns in the admin grid and it's working fine. I need to add custom columns dynamically.
For example we can add custom column in __prepareColumns function in Block ...
6
votes
2
answers
3k
views
Change Sort Order of Edit Action Customer Grid Column
I want to move edit action column beside customer name programmatically in customer grid like this:
how to do it from custom module?
i've tried this, but still not working
app/code/Namespace/Module/...
3
votes
3
answers
3k
views
Magento 2 Product Details Column in Sales order Grid
I need to extra column to Sales Order Grid that displays product name or product SKU.
3
votes
3
answers
10k
views
Add custom column and filter to customer grid from joined table in magento 2
I need to add custom column and filter in the customer grid in Magento 2 admin. The column attribute is from different modules. There are many solutions for sales order grid, but none (or incomplete) ...
3
votes
1
answer
1k
views
Magento 2 bar disappeared in Sales Order Grid after adding column
My custom module adds a column to the Sales Order grid. The problem is that the bar above the Grid disappeared. This is shown in the screenshots.
With my module:
Without my module:
In order to add ...
3
votes
1
answer
2k
views
Add custom column to grid that can be exported
I want to add a column to sales order invoice grid, that should be exported as it is shown in the grid.The column is a calculated column, based on the row data, so there is no explicit database entry ...
3
votes
1
answer
191
views
How to add new column in custom table and also in admin listing page?
I want to add a new column in my existing custom admin grid:
My columns in admin grid are:
also I want this column to appear in edit listing page.
3
votes
0
answers
682
views
Company Column on Sales Grids (Order, Invoice, Shipment, Credit Memo)
This is a continuation from my previous question: Billing and Shipping Company Column on Sales Order Grid
I was able to place the Ship-to and Bill-to Company Columns on the 4 Sales Grids, but I am ...
2
votes
1
answer
1k
views
Magento 2 how to add data to custom column in sales_order table
I wan't to add data in a custom field that I created, I used InstallSchema like this:
Setup/InstallSchema.php
use Magento\Framework\Setup\InstallSchemaInterface;
use Magento\Framework\Setup\...
2
votes
2
answers
2k
views
Magento 2 add extra column in order grid using extension attribute
Thanks! for view this post.
I just want to know if there is any feasibility in which we can add extra columns in grid using extension attributes?
Please share your steps with me.
Thanks!
2
votes
1
answer
2k
views
grid column filter based on existing values
In Magento 2.1.8 I trying to add a custom column to the admin order grid, that contains the cc_type field.
Long story short, I managed to make the column appear, display the correct data, and be ...
2
votes
1
answer
2k
views
Filter is not working for a boolean datatype column in custom admin grid
A custom table columns are displayed in the filter as well as in a grid.
Other filters are working fine except Is Notified column.
is_notified is the boolean type field.
Here is the code from xml ...
2
votes
1
answer
647
views
Magento 2.1 : how to add profit column to admin order grid
Want to add order profit column on order grid. Any reference?
2
votes
0
answers
165
views
how to add Custom column with link in sales order grid magento
I want to add custom column in sales order grid.
In the row data I want to add link using block render or using ui-component.
2
votes
1
answer
737
views
product displayed in one column only instead of 2 column on phone in magento 2.3
when you view a category on desktop shows 3 column but on mobile phone it shows product only one column instead of two column of the page.
whats wrong with magento 2.3.0
check the link on mobile ...
2
votes
1
answer
924
views
filter_condition_callback function not called in observer
I'm adding a custom column (from a custom table) to an admin grid with an observer, and the filtering/sorting doesn't work. Adding the 'filter_condition_callback' to my column doesn't work, the ...
2
votes
0
answers
169
views
What's wrong with my event observer?
I have done below code in my event observer to add custom column to my sales order grid and still do not display the column to my website's admin panel?
Here is my code:
app/code/community/Mjsi/...
1
vote
3
answers
6k
views
Magento 2: Filter Custom Column in Admin Grid
I have a custom column in an admin grid, this column is populated with a custom renderer and is not actually saved to the database. Is it possible to still filter by this column?
in my Grid.php file:
...
1
vote
2
answers
316
views
Add column to order grid get error in customer page
I tried to add 2 new columns (shipping's company and billing's company) to orders page using a plugin,
but i got an error when trying to view customer's orders in customer page.
This is my plugin ...
1
vote
1
answer
1k
views
How to add custom column as link in sales order grid in magento 2
I wish to add a column as link in sales order grid. While clicking the link, I wish to perform some logic,
I have reffered the below link for magento 1 which is based on layout grid
add button inside ...
1
vote
2
answers
6k
views
Magento 2 - How to add a custom column in customer grid like (is approved)
i want to add a custom column in customer grid like "is_approved" customer section.
please suggest.
1
vote
1
answer
656
views
How to add columns to customer address grid in admin?
I have to add two fields to the customer's address grid, for this I have to add a left join to the Magento collection. I have created the following custom module:
Vendor/Module/registration.php
<?...
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.
1
vote
1
answer
1k
views
Magento 2 Hide or remove a ui element column
I want to remove a column from the admin grid. This is the column:
<column name="ip">
<argument name="data" xsi:type="array">
<item name="config" xsi:...
1
vote
1
answer
1k
views
Magento 2 How to remove phone column in customer grid programmatically
in customer grid there is a phone column like this:
i can filter this column or choose to hide/show this column from setting, i need to remove this phone column from grid and filter, is there a way ...
1
vote
2
answers
1k
views
How do I change the main column on 2 column layout in Magento ver. 1.9.3.1
MT Ghost Theme - we had a 3rd party start the website because of time. The problem is, I am not able to change anything. There is a lot of "white space" on the product detail page that makes the ...
1
vote
1
answer
972
views
Custom column sorting(DESC and ASC) not working in custom grid Magento 2.3.5
Actually in below listing.xml file i am trying to sort customer_id
column DESC/ASC but not working fine. After using below code it's loading the data in ASC order only if sort customer_id column one ...
1
vote
0
answers
35
views
How to add Backend grid of order, add a coulmn Shipping method In Magento 2
How to add backed grid of order add a column Shipping method in
programmatically if have any idea or suggestion to slow this in
and related links so give me ASAP.
Thank you.
1
vote
0
answers
34
views
How to add new Column in Products Listing in Magento 2
I am trying to add one more column on the product listing.
I have tried to with below code.
_listing.less
/
// Desktop
// _____________________________________________
.media-width(@extremum, @...
1
vote
0
answers
380
views
ifconfig to disable part of an extension
I have added a Column to the New Order -> Customer Grid. I am having a really tough time getting the system config to disable this code if turned off. I was hoping I could use a simple ifconfig in the ...
1
vote
0
answers
56
views
Magento 2, add new column into admin grid? [duplicate]
Using magento 2.2, admin. sale->order. I want to add a new column into sales order grid in backend.
0
votes
1
answer
54
views
Set function not working on Customer\Visitor model for custom column
I am trying to add new custom columns for now online customer grid.
I have added new custom columns in customer_visitor table, but I am not able to save data in custom columns.
Firstly, I have added ...
0
votes
1
answer
263
views
Magento 2 add extra column in order grid using virtual type
Thanks! for view this post.
How to add custom column in order grid and what are the advantages.
0
votes
1
answer
224
views
How to show product status in custom column?
I am creating a custom column in order grid and i am show the status YES/NO according to order status.
If product status complete then i will show YES in custom column otherwise processing, Canceled, ...
0
votes
1
answer
25
views
How to add a `from to` filter for the Products in Category grid
I extended this class: Magento\Catalog\Block\Adminhtml\Category\Tab\Produc to add another column qty. This is how I added the column:
protected function _prepareColumns()
{
parent::_prepareColumns(...
0
votes
1
answer
1k
views
Custom module column in sales order grid with select filter in magento 2
I have a custom module with the columns id, order_id & reason. Now I want to add the reason value in the order grid with the select filter.
Reasons are listed in the other table of the custom ...
0
votes
0
answers
78
views
Magento 2: How to implement columnControls(hide/show) functionality in custom admin grid
Here I have created a custom grid(inside admin) using block, now I want to add controlColumns(hide/show) functionality in this custom grid.
Using Ui Component, it's easy to add this functionality by ...
0
votes
1
answer
1k
views
How to code Magento 2 enterprise's default pagebuilder as responsive (mobile friendly)?
As part of one of my Magento 2 enterprise projects, I need to enable the admin user to customize the page layout (responsive layout) using the page builder. For desktop, it could be done pretty well ...
0
votes
2
answers
1k
views
magento 2 sales order grid add payment transaction column
How to add Payment transaction column to sales order grid in admin?
Can you please help me step by step?
Regards
Hiren Shah
0
votes
1
answer
232
views
Magento 2 actions column in backend grid registry.js error on click any collumn
When I click anywhere on the Grid I get the following:
Actions xml:
...
<actionsColumn name="actions" class="Vendor\Module\Ui\Component\Listing\Grid\Column\BlogAction">
<argument ...
0
votes
1
answer
308
views
Magento 1 - Add VAT NUMBER column in Manage Customers Grid
I want to add a column in Manage Customers Grid
app/code/core/Mage/Adminhtml/Block/Customer/Grid.php
with the VAT Number of customers.
Now i have ID, Name, Email, Telephone, Country etc.
I need ...
0
votes
1
answer
936
views
Company Column on Sales Order/Invoice/CreditMemo/Shipment Grid
I have built a module to show the Billing and Shipping Company Name in the Admin Grids for Order, Invoice, CreditMemo, and Shipment. I still can't believe this is not built into Magento2.
At first I ...
0
votes
0
answers
155
views
How can i get Attributes Values on sales_flat_order_grid after insert new custom column
I have insert column: warehouse in sales_flat_order_grid.[And also created attributes with values] After added how can i get the attributes values,
//workout
$this->addColumn('warehouse', array(
...