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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
scroll top