They are also used to perform mass actions such as updates and deletes. The Grid enables you to sort single and multiple data-bound columns.
As the default Magento 2 admin grid disables sorting on Thumbnail, Salable Quantity and Actions, you can also make column sorting false using UI component in Magento 2 in your custom grid or columns.
For instance, the columns that contain buttons, URL link or code does not need sorting. In that scenario, use the below method and disable the sorting for custom columns.
Method to Make Column Sorting False Using UI Component in Magento 2
- Add tag <sortable> in your code
<column name="store_id" class="Magento\Store\Ui\Component\Listing\Column\Store">
<label translate="true">Purchase Point</label>
If you find any doubt regarding this post, do mention them in the Comment section below.
I would be happy to help.
Feel free to share the solution with Magento Community via social media.
Get Weekly Updates
Never miss Magento tips, tricks, tutorials, and news.
Thank you for subscribing.
Something went wrong.