Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-5003 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    157
    Vote Rating
    9
    ZachG will become famous soon enough

      0  

    Default [4.1.0 B1] Locked Grid Columns + Cell Editor + Tab = JS Error

    [4.1.0 B1] Locked Grid Columns + Cell Editor + Tab = JS Error


    REQUIRED INFORMATION




    Ext version tested:
    • Ext 4.1.0 B1

    Browser versions tested against:
    • Chrome

    Description:
    • When I have a grid with locked columns, a cell editor, edit a cell, and press tab to go to the next cell, I get a JS error in ext-all.js

    Steps to reproduce the problem:
    • Run the code below.
    • Double click on cell under Editable 1.
    • Press tab to go to the next cell.

    The result that was expected:
    • It would go to the next cell without a JS error.
    The result that occurs instead:
    • It wouldn't go to the next cell without a JS error.

    Test Case:


    Code:
    Ext.onReady(function()	{
    	Ext.create("Ext.window.Window", {
    		width:500,
    		height:500,
    		layout:"fit",
    		items:[
    			{
    				xtype:"grid",
    				store:{
    					model:Ext.define("MyModel", {
    						extend:"Ext.data.Model",
    						fields:[
    							"locked1",
    							"locked2",
    							"locked3",
    							"locked4",
    							"editable1",
    							"editable2",
    							"editable3",
    							"editable4",
    							"editable5",
    							"editable6"
    						]
    					}) && "MyModel",
    					proxy:{
    						type:"memory"
    					}
    				},
    				columns:[
    					{
    						text:"Locked 1",
    						dataIndex:"locked1",
    						locked:true,
    						width:50
    					},
    					{
    						text:"Locked 2",
    						dataIndex:"locked2",
    						locked:true,
    						width:50
    					},
    					{
    						text:"Locked 3",
    						dataIndex:"locked3",
    						locked:true,
    						width:50
    					},
    					{
    						text:"Locked 4",
    						dataIndex:"locked4",
    						locked:true,
    						width:50
    					},
    					{
    						text:"Editable 1",
    						dataIndex:"editable1",
    						width:50,
    						editor:{
    							xtype:"numberfield"
    						}
    					},
    					{
    						text:"Editable 2",
    						dataIndex:"editable2",
    						width:50,
    						editor:{
    							xtype:"numberfield"
    						}
    					},
    					{
    						text:"Editable 3",
    						dataIndex:"editable3",
    						width:50,
    						editor:{
    							xtype:"numberfield"
    						}
    					},
    					{
    						text:"Editable 4",
    						dataIndex:"editable4",
    						width:50,
    						editor:{
    							xtype:"numberfield"
    						}
    					},
    					{
    						text:"Editable 5",
    						dataIndex:"editable5",
    						width:50,
    						editor:{
    							xtype:"numberfield"
    						}
    					},
    					{
    						text:"Editable 6",
    						dataIndex:"editable6",
    						width:50,
    						editor:{
    							xtype:"numberfield"
    						}
    					}
    				],
    				selModel:{
    					selType:"cellmodel"
    				},
    				plugins:[
    					Ext.create("Ext.grid.plugin.CellEditing", {
    						clicksToEdit:1
    					})
    				],
    				listeners:{
    					afterrender:function()	{
    						this.store.add({});
    					}
    				}
    			}
    		]
    	}).show();
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,218
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thank you for the report. This is most likely due to the fact that when you have a locked column, you have two grid panels in a hbox layout.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    10
    Vote Rating
    0
    cnwk73 is on a distinguished road

      0  

    Default


    Any update or any workaround on this as I'm also facing the same issue in 4.0.7

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    13
    Vote Rating
    1
    manishnp is on a distinguished road

      0  

    Default


    I am still facing the same issue in Ext Js 4.2 also.


    Thank You
    Manish Pandit