Pages

Monday 12 May 2014

placing html button with in the extjs form panel

var form = Ext.create('Ext.form.Panel', {
                bodyPadding: '10',
                border: 0,
                layout: 'hbox',
    items: [{
        xtype:'datefield',
        fieldLabel: 'Date',
        name: 'dt_Date',
        id: 'dt_Date',
        allowBlank: false
    },{html:'<input type="button" id="btn_Get" name="btn_Get" Value="Get"/>'}],
    renderTo: 'DivDates'
});