Dec 23, 2020, 1:35 AM
Custom CellEditing Break after Upgrading from 3.3 to 5.3
I had the following codes working fine until I upgraded from 3.3 to 5.3 any thoughts? I was able to move to next row same column when inputting values in a grid using these codes. Since the upgrade, I only get moved next row only. Were there any breaking changes?
<ext:Column runat="server" ID="Col6" DataIndex="TOTAL" Text="TOTAL" Width="90" Align="Center">
<Editor>
<ext:TextField ID="TextField5" runat="server">
<Listeners>
<SpecialKey Handler="if (e.getKey() === e.ENTER) {this.up('gridpanel').enterWasPressed = true;}" />
</Listeners>
</ext:TextField>
</Editor>
</ext:Column>
<Plugins>
<ext:CellEditing ID="CellEditing1" runat="server" ClicksToEdit="1">
<Listeners>
<Edit Handler="if (e.grid.enterWasPressed) {
this.startEdit(e.rowIdx + 1, e.column);
e.grid.enterWasPressed = false;
}" />
</Listeners>
</ext:CellEditing>
</Plugins>
Last edited by geoffrey.mcgill; Dec 23, 2020 at 3:56 PM.