есть DTO сущность:
@JmixEntity(name = "jt_TestEntity")
data class TestEntity(
@JmixId @JmixGeneratedValue var id: UUID? = null,
var name: String? = null,
var value: BigDecimal? = null
)
Экран с таблицей
<dataGrid id="testEntitiesDataGrid"
width="100%"
minHeight="20em"
dataContainer="testEntitiesDc"
columnReorderingAllowed="true">
<actions>
<action id="create" type="list_create"/>
</actions>
<columns resizable="true">
<column property="name" editable="true"/>
<column property="value" editable="true"/>
<editorActionsColumn width="8em" flexGrow="0">
<editButton text="Edit" icon="PENCIL"/>
<closeButton icon="CHECK" themeNames="success"/>
</editorActionsColumn>
</columns>
</dataGrid>
При попытке нажать на closeButton
редактор не закрывается.
jmix-test.zip (3.6 МБ)