This topic contains 5 replies, has 2 voices, and was last updated by Ilya Antypenko 6 years, 9 months ago.
- Topic
Hello,
I have extended Datagrid : frontend-product-search-grid as mine product-frontend-variants, and after I want to add a column to that grid by the listener:
Fragment of code:12tags:- { name: kernel.event_listener, event: oro_datagrid.datagrid.build.before.product-frontend-variants, method: onBuildBefore }12345678910$config->addColumn('custom_product_attributes',['label' => 'custom.product.attributes.label','type' => 'twig','template' => 'QWEProductAttrBundle:Datagrid:Column/productAttributes.html.twig','frontend_type' => 'html','renderable' => true]);And column does not show in the grid. But dump(‘asd’) for the template ‘QWEProductAttrBundle:Datagrid:Column/productAttributes.html.twig’ is working.
The forum ‘OroPlatform’ is closed to new topics and replies.