Jan 06, 2015, 5:56 PM
[CLOSED] [#631] GridPanel header, Tab key navigation exception: Unable to get property 'apply' of undefined or null reference
Hi,
To reproduce this problem open following link: (I have tried in Chrome and IE 11)
https://examples3.ext.net/Examples/G...ayGrid/Simple/
Then click "tab" key few times until first column header become focused. If you click Tab key again the exception will be thrown.
This is where exception is thrown:
I have tested in on very simple example (only one column, no data) and the same problem occurs:
To reproduce this problem open following link: (I have tried in Chrome and IE 11)
https://examples3.ext.net/Examples/G...ayGrid/Simple/
Then click "tab" key few times until first column header become focused. If you click Tab key again the exception will be thrown.
This is where exception is thrown:
Ext.grid.header.Container.override({
onHeaderCtEvent: function (e, t) {
if (e.getTarget('.x-grid-header-widgets', this.el)) {
return false;
}
return this.callParent(arguments);
},
afterRender: function () {
this.callParent(arguments);
if (this.focusableKeyNav) {
this._processBinding = this.focusableKeyNav.map.processBinding;
this.focusableKeyNav.map.processBinding = this.processBinding;
this.focusableKeyNav.map.ignoreInputFields = true;
}
},
processBinding: function (binding, e) {
if (e.getTarget('.x-grid-header-widgets', this.el)) {
return;
}
// --------------- THE EXCEPTION IS THROWN HERE ------------------
this._processBinding.apply(this.focusableKeyNav.map, arguments);
}
});
The focusableKeyNav is undefined. I have tested in on very simple example (only one column, no data) and the same problem occurs:
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET v3 Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:GridPanel
runat="server">
<ColumnModel runat="server">
<Columns>
<ext:Column
runat="server"
Text="Name"
DataIndex="ProjectName">
</ext:Column>
</Columns>
</ColumnModel>
</ext:GridPanel>
</form>
</body>
</html>
Last edited by Daniil; Jan 07, 2015 at 4:48 PM.
Reason: [CLOSED]