3

I want to make sorting false for donloaded column :

 <column name="downloaded" class="Tatva\Subscription\Ui\Component\Listing\Column\Downloadedrenderer">
    <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">Downloaded</item>
        </item>
    </argument>
</column> 
3

After Magento 2.2 you can make sorting false using below code.

<sortable>false</sortable>

Complete column tag looks like this

 <column name="store_id" class="Magento\Store\Ui\Component\Listing\Column\Store">
        <settings>
            <label translate="true">Purchase Point</label>
            <bodyTmpl>ui/grid/cells/html</bodyTmpl>
            <sortable>false</sortable>
        </settings>
    </column>
| improve this answer | |
13

Try -

<item name="sortable" xsi:type="boolean">false</item>

This works with default grids

| improve this answer | |

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.