Threaded View

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Argentina
    Posts
    36
    Vote Rating
    0
    gustavo21 is on a distinguished road

      0  

    Default Little Help with first air app. Cannot put a gridpanel

    Little Help with first air app. Cannot put a gridpanel


    Hi everyone. Im new in ext.air and im trying to migrate my app (extjs 3.3 running in browser) to a desktop app with adobe air.

    I setup aptana and i have working a simple window with a grid. Works great, but when i add a grid, i have many errors in the console and the window is showed but i cannot move or resize...

    Here's my working code for Window and panel:

    Code:
    Ext.onReady(function() {
            new Ext.air.Window({
            win: window.nativeWindow,
            width: 1024,
            height: 768,
            layout: 'fit',
            title: 'Ventana de Prueba',
            items:[
                {
                    xtype: 'panel',
                    title: 'My Panel',
                    layout: 'fit',
                    }
                  ]            
        });
    });
    And here's the code i insert to add a grid:

    Code:
    Ext.onReady(function() {
            new Ext.air.Window({
            win: window.nativeWindow,
            width: 1024,
            height: 768,
            layout: 'fit',
            title: 'Ventana de Prueba',
            items:[
                {
                    xtype: 'panel',
                    title: 'My Panel',
                    width: 100,
                    height: 350,
                    layout: 'fit',
                    items: [
                        {
                            xtype: 'grid',
                            title: 'My Grid',
                            
                        }
                    ]
                }
            ]
                          
        });
    });
    Thanks, and i hope you can help me... and understand my english... jeje
    Attached Images

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