<List resource="t_prod_category" filter={{code: mycode}}> <Datagrid> <TextField source = 'id' /> <TextField source = 'code' /> <ReferenceManyCount label = "style" reference="t_prod_style" target = 'category_id' link /> </Datagrid> </List>
<List resource="t_prod_category" filter={{code: mycode}}> <Datagrid> <TextField source = 'id' /> <TextField source = 'code' /> <ReferenceManyCount label = "style" reference="t_prod_style" target = 'category_id' link /> </Datagrid> </List>