View Full Version : [CLOSED] Can't select items in combobox in gridpanel's component column using arrow keys

Jul 01, 2013, 9:26 AM

I am using grid panel in which I have component column which has a combobox as component.
When I reach to combobox and select any value using arrow key and press enter then cursor is navigating
to another combobox in next row instead of selecting value for selected item from combobox.
Please suggest the way to select any value in combobox using arrow keys.

Jul 01, 2013, 3:09 PM
Hi @alscg,

It behaves in this manner due to the onEnterKey function.

I can suggest you to override this function to get the behavior you need.

Here you can find some details regarding the problem.

Jul 05, 2013, 4:17 AM
Finally, I think the problem is in a ComponentColumn, not in ExtJS.

Here is a test case. It reproduces two issues.

1. No way to select a ComboBox's item by Enter. Moreover, Enter focuses a ComboBox of next rows.

2. Focus a ComboBox and press Tab => a JavaScript error occurs.


<%@ Page Language="C#" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<script runat="server">
protected void Page_Load(object sender, EventArgs e)
if (!X.IsAjaxRequest)
Store store = this.GridPanel1.GetStore();
store.DataSource = new object[]
new object[] { "test1", "test2", "test3" },
new object[] { "test4", "test5", "test6" },
new object[] { "test7", "test8", "test9" }

<!DOCTYPE html>
<head runat="server">
<title>Ext.NET v2 Example</title>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:GridPanel ID="GridPanel1" runat="server">
<ext:Store runat="server">
<ext:Model runat="server">
<ext:ModelField Name="test1" />
<ext:ModelField Name="test2" />
<ext:ModelField Name="test3" />
<ColumnModel runat="server">
<ext:Column runat="server" Text="Test1" DataIndex="test1" />

<ext:ComponentColumn runat="server" Text="Test2" DataIndex="test2">
<ext:ComboBox runat="server">
<ext:ListItem Text="Item 1" />
<ext:ListItem Text="Item 2" />

<ext:Column runat="server" Text="Test3" DataIndex="test3" />

Jul 05, 2013, 3:59 PM
Enter functionality can be fixed by setting MoveEditorOnEnter="false" for ComponentColumn
We will fix Enter without that property

Jul 05, 2013, 5:14 PM
Both issues are fixed in SVN