Display Dyn. Attributes in Datagrid

Hi,

I have an entity with

  • normal attributes (name, description) and
  • dynamic attributes enabled, using various categories (lets say books and cars) which each come with individual attributes

I am looking for the best practice (or any idea really) to show both normal and dynamic attributes in a datagrid component. Ideally I would make use of Column Collapsing (DataGrid :: Jmix Documentation) but it looks as if dyn. attributes are not available in there. I appreciate any thoughts

Hi,

You can display dynamic attributes of all categories in a DataGrid if you specify their visibility as described in the docs.
So you will have a table like this:

image

And column collapsing in UI works for these attributes too.

image