sencha touch charts Sencha Touch 1.0 工作笔记

1. 如何修改 panel 中的html 值

    对panel  设置 id,  使用: Ext.getCmp('   id ').update(html);  来修改html

2. 修改 items 中的值

 var pane = new  Ext.Panel({
		   	id:"contnet",
            fullscreen: true,
            layout: {
                type: 'vbox',
                align: 'stretch'
            },
            defaults: {
                flex: 1
            },
            items: []
        });
		
		// var panel = Ext.getCmp('content');  
       	// pane.removeAll();
		
        pane.items.each(function(item){  
            panel.remove(item)  
        });  
		
        pane.insert(0, carousel1)  
        pane.doLayout();  

    3.布局:

Sencha Touch 快速入门2.0 第三章 布局(1)Box布局

ExtJS4学习笔记之HBox的使用

你可能感兴趣的:(sencha touch charts Sencha Touch 1.0 工作笔记)