如何在对象的修改中填充(从数据库中)填写的表单。 这是我的代码:
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}
]
});
答案 0 :(得分:1)
value: record.field.name