4

There is a great explanation of the Grid Component but I cannot find how to disable filter for a column. I need only ordering for my column because value for this column is calculated.

    <column name="prxgt_is_in_odoo">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="filter" xsi:type="string">text</item>
                <item name="label" xsi:type="string" translate="true">Is in Odoo</item>
            </item>
        </argument>
    </column>

1 Answer 1

5

It is simple, just comment or remove "filter" node in column definition:

    <column name="prxgt_is_in_odoo">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <!--<item name="filter" xsi:type="string">text</item>-->
                <item name="label" xsi:type="string" translate="true">Is in Odoo</item>
            </item>
        </argument>
    </column>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.