1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    10
    Vote Rating
    0
    Janachi is on a distinguished road

      0  

    Default this.scroller is undefined at the Ext.grid.GridView...

    this.scroller is undefined at the Ext.grid.GridView...


    Hello,
    I am writting a little app; basically a window with a tabPanel item which at the same time has 4 different items, 3 on them holding grids..

    here is a little of the code, so you see what I talking about

    Code:
    function CreatePanel(){
        var tabs = new Ext.TabPanel({
            id:'tabs',
            activeTab: 0,
            bodyStyle : 'background:transparent', 
            items: [{
                id:'tabs0',
                title:'Define Structure',
                autoHeight: true,
                items:[FormEstructura('x', 'y', new Date().format('d/m/Y'), 't', '.', '')],
                buttons:[{text:'Cancel',cls:"x-btn-text-icon", icon:iconPath+'cancel.png',handler:CerrarPanelBaseArchivoNuevo},
                         {text:'Siguiente',cls:"x-btn-text-icon", icon:iconPath+'arrow_right.png',handler:ValidarTabCero}]
            },{
                id:'tabs1',
                title:'Definir Campos',
                disabled:true,
                autoHeight:true, 
                items:[FormCampo('nuevo', '0', 'Si')],
                buttons:[{text:'Cancelar',cls:"x-btn-text-icon", icon:iconPath+'cancel.png',handler:ClosePanel},
                         {text:'Before',cls:"x-btn-text-icon", icon:iconPath+'arrow_left.png',handler:tabBefore},
                         {text:'Next',cls:"x-btn-text-icon", icon:iconPath+'arrow_right.png',handler:ValidateTabOne }]
            },{
                id:'tabs2',
                title:'Define Instruments',
                disabled:true,
                autoHeight: true,
                items:[FormInstrumento('0', 'nuevo')],
                buttons:[{text:'Cancel',cls:"x-btn-text-icon", icon:iconPath+'cancel.png',handler:ClosePanel},
                         {text:'Before',cls:"x-btn-text-icon", icon:iconPath+'arrow_left.png',handler:tabAnterior},
                         {text:'Next',cls:"x-btn-text-icon", icon:iconPath+'arrow_right.png',handler:ValidarTabDos}]
            },{
                id:'tabs3',
                title:'Define Data',
                disabled:true,
                autoHeight: true,
                items:[FormDatos('0', 'edit')],
                buttons:[{text:'Cancel',cls:"x-btn-text-icon", icon:iconPath+'cancel.png',handler:ClosePanel},
                         {text:'Anterior',cls:"x-btn-text-icon", icon:iconPath+'arrow_left.png',handler:tabAnterior},
                         {text:'Build',cls:"x-btn-text-icon", icon:iconPath+'disk.png',handler:function(){alert('Crear')}}]
            }]
        });
        /*ventana que contiene el tab panel para un archivo nuevo*/
        var winArchivoNuevo = new Ext.Window({
            id:'winArchivoNuevo',
            monitorResize: true,
            title: 'Nuevo Informe',
            closable:true,
            width:ancho,
            autoHeight:true,
            plain:false,
            modal:true,
            y:'0',
            resizable:false,
            items:[tabs]
        });
        winArchivoNuevo.show();
    }
    So my problem is...when I try to close the panel before the last step I always get:
    this.scroller is undefined
    Ext.grid.GridView=function(A){Ext.apply(...Offset:function(){this.setDelta(0,0)}}) @ ext-all.js line 142

    Do you have an idea exactly why this is happening? what am I doing wrong?
    I am using Ex tJS 2.1
    Thanks in advance for your help and time
    Janachi

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    1. Use ext-all-debug.js during developement. Errors from ext-all.js are almost totally useless!
    2. The problem is with a grid, but you haven't posted anything of your grid creation code.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar