MainConfig.js 1013 Bytes
Ext.define('App.view.MainConfig', {
    extend : 'Ext.form.Panel',
    xtype  : 'mvvm-MainConfigView',
    requires : [
      'App.view.MainConfigViewModel' 
    ],

    frame   : true,
    padding : 10,
    
    bind : {
    },
    
    viewModel: {
        type: 'mainconfigform'  // references DetailViewModel
    },
    
    items : [{
                 xtype      : 'textfield',
                 bind       : '{guid}',
                 fieldLabel : 'GUID',
                 id:'guid',
                 disable:true,
                 width:500,
                 margin:'5 5 10 3'
           	 },
	         {
	    	   xtype      : 'textarea',
	           bind       : '{description}',
	           fieldLabel : 'ОПИСАНИЕ',
	           height:50,
	           width:500,
	           id:'title',
	           margin:'5 5 10 3'
	        },
	        
      
	        {
	            xtype  : 'button',
	            text   : 'Сохранить',
	            itemId : 'SaveRecord'
	        }
	        
    ]
});