Hello everyone,I'm currently working on a project where I can click on a feature on the map and appear an infoWindow with the help of the Editor.My code :
...
// MORE ATTRIBUTES
...
// CONFUSION
var fieldInspector10:FieldInspector = new FieldInspector();
fieldInspector10.featureLayer = featureLayerFiche;
fieldInspector10.fieldName = "CONFUSION";
fieldInspector10.label="Confusion : ";
fieldInspector10.enabled=true;
var attributeInspector: AttributeInspector = editorFiche.attributeInspector;
attributeInspector.featureLayers = [featureLayerFiche];
attributeInspector.fieldInspectors = [fieldInspector0, fieldInspector1, fieldInspector2, fieldInspector3, fieldInspector4, fieldInspector5, fieldInspector6, fieldInspector7, fieldInspector8, fieldInspector9, fieldInspector10];
attributeInspector.formItemsOrder = "fieldInspector";
attributeInspector.infoWindowLabel = "Title"
My problem is the following, the field CONFUSION in the infoWindow is disabled and by doing so, it's all greyed out... and I want it to look like an enabled field.I also have a date attribute in the infoWindow that I want to change the format, because 04062012 is ugly.If someone could help me out, it'd be REALLY appreciated, Ty all!