1 Attachment(s)
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