Ext.define('Zenws.view.mobileview.resource.AppMenuTreePanel', {
	extend : 'Ext.tree.Panel',
    xtype: 'appMenuTreePanel',
    itemId: 'appMenuTreePanel',
    
    requires: ['Zenws.view.mobileview.resource.AppMenuTreePanelController'],
    
    controller: 'appMenuTreePanelController',
    rootVisible:false,
    autoScroll:true,
    useArrows:true,
    rowLines:true,//mbadd
    columnLines:false,//mbadd
   // width:'100%',//mbremove
   // autoScroll:true,
   // latout:'fit',//mbremove
	listeners: {
         itemclick : function( tree, record, item, index, e, eOpts){
        	 debugger;
        	 this.getController().renderFormPanel(tree, record, item, index, e, eOpts);
         }
   	}    
   
    	
});
