Question

I want to hide some columns from customer listing grid. I try to use false in customer_listing.xml, but it doesn't work. And I noticed that some columns (for example "confirmation", "created_in", "billing_full") in magento's ui component xml file have options visible = false but they don't hide in grid. How can I hide this columns? I don't want to disable them, just hide them. Thanks in advance. P.S. I want to change visability from code for all new admin users.

Was it helpful?

Solution

I found the solution. I created before plugin for class vendor/magento/module-ui/Model/BookmarkManagement.php and method loadByNamespace. I created new bookmarks for current customer with my configuration.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top