How to display the custom entity in the product grid¶
Using a vendor column and filter in product grid¶
To add the vendor column in the product grid, you have to define each part (column, filter, sorter)
in a specific file definition grid_attribute_types.yml
:
1 2 3 4 5 6 7 8 9 10 11 | # /src/Acme/Bundle/IcecatDemoBundle/Resources/config/grid_attribute_types.yml
parameters:
pim_datagrid.flexible.attribute_type.pim_icecatdemo_vendor:
column:
type: flexible_field
filter:
type: icecat_vendor
parent_type: choice
options:
field_options:
multiple: true
|