문제

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 ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top