Magento 2 provides a great feature that allow admin user to select which column in a grid that they want to see. In this post, I will show you how to do that with Magento 2 admin grid.
Before go to the main point, I want to list some of my previous post in this series:
1. How to Register a module and Create Database in Magento 2
2. Create simple grid listing in Magento 2 admin with UI component
Now, open app/code/Magestore/Company/view/adminhtml/ui_component/company_staff_listing.xml
then insert bellow lines of code:
Here is the result:
That’s all for now, next post I’ll show you how to create report feature for Magento 2 admin grid.
Your Magento website needs a powerful Magento ERP for stock control.
DON'T MISS THE CHANCE!