Change Column component of the Magento2 order grid

Changing the UI component based grid Column is very easy in magento2. Today I,m going to change magento2 order grid columns.

As an example let say we have to change the grid column ID to Order #. So you can do like following.

app/code/MageChallenge/OrderGrid/view/adminhtml/ui_component/sales_order_grid.xml

<?xml version="1.0" encoding="UTF-8"?>
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <columns name="sales_order_columns">
        <column name="increment_id">
            <settings>
                <filter>text</filter>
                <label translate="true">Order #</label>
            </settings>
        </column>
    </columns>
</listing>
Latest posts by Chathura Janaka Liyanage (see all)

14 thoughts on “Change Column component of the Magento2 order grid

  1. I am also commenting to let you know of the helpful encounter my friend’s daughter found reading through your web page. She figured out numerous issues, not to mention what it’s like to have an amazing giving mood to have most people really easily know selected impossible subject areas. You really exceeded our own expectations. Many thanks for imparting the interesting, safe, explanatory and even easy thoughts on the topic to Janet.

  2. I am commenting to let you know of the great encounter my friend’s daughter found reading your web page. She figured out numerous issues, not to mention what it’s like to have a wonderful giving mood to have men and women really easily have an understanding of selected hard to do subject areas. You really exceeded our own expectations. Many thanks for imparting the interesting, safe, explanatory and even easy thoughts on the topic to Janet.

  3. I wanted to put you the tiny remark to be able to thank you over again on your pretty suggestions you have provided on this page. It was really strangely open-handed with you to make unhampered precisely what many people would’ve offered for sale for an ebook to get some money for themselves, particularly now that you might have tried it in case you desired. These strategies in addition served to be the good way to know that some people have the identical interest really like my personal own to learn much more when considering this matter. I believe there are several more pleasant sessions in the future for many who read through your site.

  4. Nice post. I was checking continuously this weblog and I’m inspired!
    Extremely useful information particularly the final phase 🙂
    I deal with such info a lot. I was seeking this certain info for a long time.

    Thanks and good luck.

    my blog post: Royal CBD

Leave a Reply