<?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: Mobile Flex: New Feature Add Edit to Non Edit Mode in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-flex-new-feature-add-edit-to-non-edit-mode/m-p/93712#M2168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also use custom field inspectors for my tables.&amp;nbsp; Another way to make them show up as not editable is to use two different ItemRenderers for the field inspector.&amp;nbsp; I create custom field inspector ItemRenderers, some are editable and some are not.&amp;nbsp; When I have the editor turned off I can set the editor for the field inspector to the non-editable ItemRenderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below are two different ItemRenderers for the field inspector editors that I use.&amp;nbsp;&amp;nbsp; When the editor is active I can set a field inspector to use the rFST1 and when not editing I can set it to rFST2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; 
protected var rFST1:ClassFactory = new ClassFactory(fiFieldRenderer_Spinner);
protected var rFST2:ClassFactory = new ClassFactory(FieldRenderer_String_No_Edit);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:35:06 GMT</pubDate>
    <dc:creator>MikeDahm</dc:creator>
    <dc:date>2021-12-10T23:35:06Z</dc:date>
    <item>
      <title>Mobile Flex: New Feature Add Edit to Non Edit Mode</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-flex-new-feature-add-edit-to-non-edit-mode/m-p/93710#M2166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have an issue when adding a new feature then moving into non-edit mode, see the video below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.webmapsolutions.com/question/editquestion/editquestion.html"&gt;http://www.webmapsolutions.com/question/editquestion/editquestion.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wondering what we are missing in the code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 12:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-flex-new-feature-add-edit-to-non-edit-mode/m-p/93710#M2166</guid>
      <dc:creator>MattSheehan</dc:creator>
      <dc:date>2013-09-06T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Flex: New Feature Add Edit to Non Edit Mode</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-flex-new-feature-add-edit-to-non-edit-mode/m-p/93711#M2167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using the Editor?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, You could try to set up the edit menu button to have an event handler when it is active and not active.&amp;nbsp; My mobile programs that use editing when an edit button is clicked on use this.&amp;nbsp; When the editor is clicked off I set the myEditor templatePicker selected to null, and disable the editor and call out the featurelayer isEditable = false.&amp;nbsp; I also sometimes use a separate feature layer pointed at the mapserver instead of featureserver for the infowindow.&amp;nbsp; That way the infowindow will not show editable fields.&amp;nbsp; When a selection is made, it selects both the featureserver and mapserver layer but only draws the infowindow to the mapserver uneditable layer when a feature is clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;myEditor.templatePicker.selectedTemplate = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myEditor.enabled = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; editorGroup.visible = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreetTreesEdit.isEditable = false;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-flex-new-feature-add-edit-to-non-edit-mode/m-p/93711#M2167</guid>
      <dc:creator>MikeDahm</dc:creator>
      <dc:date>2021-12-10T23:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Flex: New Feature Add Edit to Non Edit Mode</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-flex-new-feature-add-edit-to-non-edit-mode/m-p/93712#M2168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also use custom field inspectors for my tables.&amp;nbsp; Another way to make them show up as not editable is to use two different ItemRenderers for the field inspector.&amp;nbsp; I create custom field inspector ItemRenderers, some are editable and some are not.&amp;nbsp; When I have the editor turned off I can set the editor for the field inspector to the non-editable ItemRenderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below are two different ItemRenderers for the field inspector editors that I use.&amp;nbsp;&amp;nbsp; When the editor is active I can set a field inspector to use the rFST1 and when not editing I can set it to rFST2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; 
protected var rFST1:ClassFactory = new ClassFactory(fiFieldRenderer_Spinner);
protected var rFST2:ClassFactory = new ClassFactory(FieldRenderer_String_No_Edit);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-flex-new-feature-add-edit-to-non-edit-mode/m-p/93712#M2168</guid>
      <dc:creator>MikeDahm</dc:creator>
      <dc:date>2021-12-10T23:35:06Z</dc:date>
    </item>
  </channel>
</rss>

