2013-10-10 56 views

回答

1

試試這個:

var filterPanel = Ext.create('Ext.panel.Panel', { 
    bodyPadding: 5, // Don't want content to crunch against the borders 
    width: 300, 
    title: 'Filters', 
    items: [{ 
     xtype: 'datefield', 
     fieldLabel: 'Start date' 
    }, { 
     hideEmptyLabel: false, 
     xtype: 'displayfield', 
     value: 'Limit: my value' 
    }], 
    renderTo: Ext.getBody() 
}); 
相關問題