DynamicAttributes Facet

DynamicAttributes facet allows DataGrid, Table and Form components to show dynamic attributes of entities loaded to linked data containers. The facet is available if the Dynamic Attributes add-on is installed into your project.

Component’s XML-name: dynattr:dynamicAttributes.

Basics

DynamicAttributesFacet is defined in the facets element of the screen XML descriptor:

<window xmlns="http://jmix.io/schema/ui/window"
        caption="msg://dynamicAttributesFacetScreen.caption"
        focusComponent="form"
        xmlns:dynattrui="http://jmix.io/schema/dynattr/ui">
    <facets>
        <dynattrui:dynamicAttributes id="dynAttrFacet"/>
    </facets>
    <!--...-->
</window>

After that, you need to select this screen in the Category attribute editor on the Visibility tab.

You can learn more about dynamic attributes on the Dynamic Attributes page.

All XML Attributes

You can view and edit attributes applicable to the facet using the Jmix UI inspector panel of the Studio’s Screen Designer.

id