Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

how can I have a filled with information from the database

$
0
0
Hello everybody,
how can I have a filled with information from the database form knowing that I already have the ID of the element
PS: this is a modification to an object
this is my code :
<code>
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}
]
});
</code>

Viewing all articles
Browse latest Browse all 4756

Trending Articles