How can I set a defined value to a numberbox and a combobox when the row switches to edit-mode?
I tried this but doesn't work:
,{field :'CUR_CDE',title:'Währung',width:090,sortable:'true',align:'left'
,editor : {
type :'combobox'
,options:{
valueField:'CUR_CDE'
,textField:'CUR_DES'
,url:'pferd.lkp.cur.json'
[b],value:'EUR'[/b]
,required:true
,editable:true
,prompt:'Währung...'
,missingMessage: 'Wählen Sie die Währung aus.'
}//Options
}//editor
}//field
,{field:'HTH_GESAMT',title:'Gesamt',width:070,sortable:'true',align:'left'
,editor:{ type:'numberbox'
,options:{ required:true
,prompt:'Gesamt-Preis...'
,missingMessage:'Geben Sie den Gesamt-Preis für die Behandlung ein.'
,precision:2
,decimalSeparator:'.'
[b],min:0[/b]
,max:10000
[b],value:0.00[/b]
}
}//editor
}//field