The default Magento 2 grid allows the admin to sort, filter and edit the data. Moreover, the admin can also use mass action, searching, and pagination to act on bulk data.
If you have any doubts regarding this post, just mention them in the Comments section below.
Feel free to share the solution with Magento Community via social media.
Thus you can disable the filter for column in the Magento 2 grid to remove any column of the grid from filter option.
Method to Disable Filter for Column in Magento 2 Grid
<item name=“filter” xsi:type=“string”>text</item>
Thank you for subscribing.
You need to remove or comment the below line:
Something went wrong.
While adding a custom column in the grid, it also displays in the filter option. However, not every column needs to be filtered. It’s better to keep the required columns in the filter area; otherwise, it will become messy if all the columns of your grid are shown in the filter option.
Get Weekly Updates
I would be happy to help.
Never miss Magento tips, tricks, tutorials, and news.
Here’s the quick solution to do so: