Добрый день!
В dataGrid использую editorActionsColumn
, меняю свойство description
.
<dataGrid id="agentsDataGrid"
width="100%"
minHeight="20em"
dataContainer="agentsDc"
columnReorderingAllowed="true"
selectionMode="MULTI" editorBuffered="false">
<actions>
<action id="remove" type="list_remove"/>
<action id="startAgent" type="list_itemTracking" text="msg://ru.ctsg.damdbf.manager.ui.action/StartAgentAction"/>
<action id="stopAgent" type="list_itemTracking" text="msg://ru.ctsg.damdbf.manager.ui.action/StopAgentAction"/>
</actions>
<columns resizable="true">
<column property="host" autoWidth="true"/>
<column property="status" autoWidth="true"/>
<column property="transitionDate" autoWidth="true"/>
<column property="lastStartDate" autoWidth="true"/>
<column property="description" autoWidth="true" editable="true"/>
<editorActionsColumn width="8em" flexGrow="0">
<editButton text="Edit" icon="PENCIL"/>
<closeButton text="Close" icon="CLOSE"/>
</editorActionsColumn>
</columns>
</dataGrid>
Заполняю поле description
, нажимаю кнопку Close
, далее нажимаю Обновить фильтр
(или перезагружаю страницу) и значение в поле пропадает, не сохраняется почему-то. Я уже пробовал добавить в dataGrid
свойство editorBuffered
в значении true
, но это не помогло. Не понимаю, почему заполненное значение не сохраняется? В документации не увидел, что его нужно как-то дополнительно самому в БД сохранять.