3

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>
3

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, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.