Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7982 in a recent build.
  1. #1
    Sencha User
    Join Date
    Jun 2007
    Posts
    1
    Vote Rating
    0
    jjx is on a distinguished road

      0  

    Default [4.2.0beta] ftype summary bug?

    [4.2.0beta] ftype summary bug?


    REQUIRED INFORMATION


    Ext version tested:
    • Ext 4.2.0 beta

    Browser versions tested against:
    • IE10
    • chrome 23.0.1271.95 m


    Description:
    • ftype summary raise Uncaught TypeError: Cannot read property 'parentNode' of null


    Test Case:

    Code:
    Ext.define('TestModel',{
    	extend: 'Ext.data.Model',
    	fields:['name','num']
    
    });
    var store=Ext.create('Ext.data.Store',{
        	model:'TestModel',
        	autoLoad:false,
        	proxy:{
        		type:'memory'
        	}
        });
    Ext.onReady(function(){
    Ext.create('Ext.grid.Panel', {
        width: 400,
        height: 200,
        title: 'Summary Test',
        style: 'padding: 20px',
      	renderTo: document.body,
        features: [{
            ftype: 'summary'
        }],
        store:store,
        columns:[{
        	dataIndex:'name'
        },{
        	dataIndex:'num',
        	summaryType:'sum'
        }
    
        ]});
    
    	
    	 store.loadData([{
    	 	name:'test',
    	 	num: 1
    	 }]);
    	 //or store.load();
    
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,408
    Vote Rating
    851
    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


    Thanks for the report.
    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
    Nov 2010
    Posts
    27
    Vote Rating
    0
    Diavololt is on a distinguished road

      0  

    Default


    Can you give a quick fix or override for this bug?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,408
    Vote Rating
    851
    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


    Quote Originally Posted by Diavololt View Post
    Can you give a quick fix or override for this bug?
    It will be part of the next release.
    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.

Thread Participants: 2