Aug 28, 2017, 2:54 PM
Edited cell loses focus (OverOnly = true removed -> no undo)
I have a grid with an editable Column. When the user edits a cell, if the cursor is hovered on another cell, it loses focus. I removed the OverOnly attribute but now the "Undo" icon is not appearing when the cell is edited.
Here is the code:
Here is the code:
<ext:CommandColumn runat="server" Width="30">
<Commands>
<ext:GridCommand ToolTip-Text="Reject row changes" CommandName="reject" Icon="ArrowUndo" />
</Commands>
<PrepareToolbar Handler="toolbar.items.get(0).setVisible(record.dirty);" />
<Listeners>
<Command Handler="record.reject();" />
</Listeners>
</ext:CommandColumn>
<ext:ComponentColumn runat="server" Editor="true" OverOnly="true" DataIndex="fieldlabel" Flex="5" Text="Label">
<Component>
<ext:TextField runat="server" />
</Component>
</ext:ComponentColumn>