Bonjour,
je veux avoir un formulaire déjà rempli par des informations de la BDD lors d'une modification d'un objet sachant qu'on a son ID.
Pourriez-vous m'aider SVP ?
Merci d'avance.

voici mon code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
this.FP_fiche2 = isc.DynamicForm.create({
 
ID: this.ID+"_fiche2"
,autoDraw:false
,canRemoveRecords: true
,FP_Parent:this.ID
,dataSource: crm_objects
,width: 250
,height: 350
,canReorderRecords: true
,selectionType :"single"    
,canEdit: true
,editEvent: "doubleClick"
,autoSaveEdits:true
 
,fields: [ 
,{name:"crm_obj_name", title:"Name" ,width:"120",align:"",canEdit:true,showHover:true, displayField:"crm_obj_name"}
,{name:"crm_obj_desc", title:"Description" ,width:"120",align:"left",canEdit:true,showHover:t rue}
,{name: "crm_obj_background", title: "Background",type: "color", width:"120",align:"left",canEdit:true,showHover:tr ue}
,{name: "crm_obj_forecolor", title: "Color", type: "color",width:"120",align:"left",canEdit:true,show Hover:true}
,{name:"crm_obj_isactive", title:"IsActive",width:"120" ,align:"left",canEdit:true,showHover:true}
]
});