Jan 13, 2013, 9:14 AM
Grid Panel Cell Editing focus
Hi,
I have used CellEditing plugins in GridPanel and used listener <Edit fn="edit" > .
In this method how can I get next cell's editor? Because I want to skip the focus if next cell has no editor.
How can I get particular cell's editor?
And other thing, I have used KeyMap and Keybinding method in Gridpanel.
e.g
<View>
<ext:GridView runat="server">
<KeyMap ID="keymap1" runat="server" EventName="itemkeydown" ComponentEvent="true">
<ProcessEvent Fn="processEvent" />
<Binding>
<ext:KeyBinding Handler="NextCellFocus">
<Keys>
<ext:Key Code="ENTER" />
</Keys>
</ext:KeyBinding>
</Binding>
</KeyMap>
</ext:GridView>
</View>
<script>
var NextCellFocus = function (keyCode, e) {
//Here I want Current selected Cell's Column,Row and total Column Count of grid.. How can I get?
};
</script>
Thanks
Shailesh
I have used CellEditing plugins in GridPanel and used listener <Edit fn="edit" > .
In this method how can I get next cell's editor? Because I want to skip the focus if next cell has no editor.
How can I get particular cell's editor?
And other thing, I have used KeyMap and Keybinding method in Gridpanel.
e.g
<View>
<ext:GridView runat="server">
<KeyMap ID="keymap1" runat="server" EventName="itemkeydown" ComponentEvent="true">
<ProcessEvent Fn="processEvent" />
<Binding>
<ext:KeyBinding Handler="NextCellFocus">
<Keys>
<ext:Key Code="ENTER" />
</Keys>
</ext:KeyBinding>
</Binding>
</KeyMap>
</ext:GridView>
</View>
<script>
var NextCellFocus = function (keyCode, e) {
//Here I want Current selected Cell's Column,Row and total Column Count of grid.. How can I get?
};
</script>
Thanks
Shailesh