<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Customizing FieldInspector in script in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-fieldinspector-in-script/m-p/600496#M13370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still need help for this issue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2012 12:47:04 GMT</pubDate>
    <dc:creator>SachaTousignant</dc:creator>
    <dc:date>2012-06-18T12:47:04Z</dc:date>
    <item>
      <title>Customizing FieldInspector in script</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-fieldinspector-in-script/m-p/600494#M13368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
...
// MORE ATTRIBUTES
...
// CONFUSION
var fieldInspector10:FieldInspector = new FieldInspector();
fieldInspector10.featureLayer = featureLayerFiche;
fieldInspector10.fieldName = "CONFUSION";
fieldInspector10.label="Confusion : ";
fieldInspector10.enabled=true; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
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"
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have a date attribute in the infoWindow that I want to change the format, because 04062012 is ugly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone could help me out, it'd be REALLY appreciated, Ty all!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 16:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-fieldinspector-in-script/m-p/600494#M13368</guid>
      <dc:creator>SachaTousignant</dc:creator>
      <dc:date>2012-06-04T16:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing FieldInspector in script</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-fieldinspector-in-script/m-p/600495#M13369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me know if you guys need more info or code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been looking for some docs and forums about it but I can't find anything ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT : I've found something interesting : attributeInspector.form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Makes me able to add components such as new buttons. Does somebody know about it / how to use it properly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it's the way I'm searching for...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 14:54:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-fieldinspector-in-script/m-p/600495#M13369</guid>
      <dc:creator>SachaTousignant</dc:creator>
      <dc:date>2012-06-05T14:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing FieldInspector in script</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-fieldinspector-in-script/m-p/600496#M13370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still need help for this issue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 12:47:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/customizing-fieldinspector-in-script/m-p/600496#M13370</guid>
      <dc:creator>SachaTousignant</dc:creator>
      <dc:date>2012-06-18T12:47:04Z</dc:date>
    </item>
  </channel>
</rss>

