var myDijit = new dijit.form.ComboBox({ id: "select1", value: "choose an option", store: store }, "select1"); var layerInfos = [{ 'featureLayer':featureLayer, 'showAttachments':false, 'showDeleteButton':false, 'fieldInfos':[ {'fieldName':'summary','label':'Summary'}, {'fieldName':'asset_cat','label':'Asset cat.'}, {'fieldName':'linkage1','label':'linkage1','customField':myDijit}, {'fieldName':'date','label':'Date'} ] }];
Solved! Go to Solution.
docSelect = new dijit.form.ComboBox({ id: "docSelect", name: "docSelect", value: "Pick a Document", store: store1, }, "docSelect");
var layers = dojo.map(results, function(result) { return { featureLayer:result.layer, showAttachments:true, showDeleteButton:true, fieldInfos:[ {fieldName: "YOUR_FIELD", visible: true, 'tooltip': 'Document that the recommendation is from', 'label':"Doc. Title", 'customField': docSelect} ] }; });
docSelect = new dijit.form.ComboBox({ id: "docSelect", name: "docSelect", value: "Pick a Document", store: store1, }, "docSelect");
var layers = dojo.map(results, function(result) { return { featureLayer:result.layer, showAttachments:true, showDeleteButton:true, fieldInfos:[ {fieldName: "YOUR_FIELD", visible: true, 'tooltip': 'Document that the recommendation is from', 'label':"Doc. Title", 'customField': docSelect} ] }; });
var mySelect = new Select({ name:"mySelect", options: [ {label: "Select option 1", value: "Select option 1"}, {label: "Select option 2", value: "Select option 2"}, {label: "Select option 3", value: "Select option 3"} ] });
editorLayerInfos: { fieldInfos: [ { 'fieldName': 'UtilityType', 'isEditable': true, 'customField': dijit.byId("UtilityTypeComboBox") }, ] }