1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| var form_membre_add = new Ext.FormPanel({
id: "form_membre_add",
labelWidth: 230,
labelAlign: 'right',
frame: true,
autoHeight: true,
title: 'test',
bodyStyle:'padding:5p;margin:0px;',
width: 550,
defaults: {
width: 250
},
defaultType: 'textfield',
items: [
new Ext.form.ComboBox({
triggerAction: 'all',
name: 'jour',
mode: 'local',
displayField: 'id',
valueField: 'id',
forceSelection: true,
typeAhead: true,
fieldLabel: 'je suis né(e) le',
width: 200,
store : new Ext.data.SimpleStore({
fields: ['id'],
data : [
['1'], ['2'],['3']
]
})
})
],
buttons: [{
text: 'Je crée mon profil',
style: 'left:15px;position:relative;',
handler: fct_submit}
]
}); |
Partager