<?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: Attribute table widget allowing delete records in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162441#M5223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rhett,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Could you not add additional conditioning to the visible syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1406509953771305" jivemacro_uid="_1406509953771305" modifiedtitle="true"&gt;&lt;OL class="dp-xml" start="1"&gt;
&lt;LI&gt;&lt;SPAN class="tag"&gt;&amp;lt;&lt;SPAN class="tag-name"&gt;s:HGroup&lt;/SPAN&gt; &lt;SPAN class="attribute"&gt;id&lt;/SPAN&gt;=&lt;SPAN class="attribute-value"&gt;"deleteSelectionGroup"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;width=&lt;SPAN class="attribute-value"&gt;"100%"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;buttonMode=&lt;SPAN class="attribute-value"&gt;"true"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;click=&lt;SPAN class="attribute-value"&gt;"deleteSelectionGroup_clickHandler(event)"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;enabled=&lt;SPAN class="attribute-value"&gt;"{dataGrid.selectionLength &amp;amp;gt; 0}"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;includeInLayout=&lt;SPAN class="attribute-value"&gt;"False"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;verticalAlign=&lt;SPAN class="attribute-value"&gt;"middle"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;visible=&lt;SPAN class="attribute-value"&gt;"{showDeleteOption &amp;amp;&amp;amp; SomeContitionLikeLayerName}"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 01:14:06 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-07-28T01:14:06Z</dc:date>
    <item>
      <title>Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162434#M5216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the FV3.6 with the EditWidget and AttributeWidget.&amp;nbsp; I have the edit widget to only allow attribute updates, no add or delete features, no merge, update, geometry, nothing but &amp;lt;updateattributes&amp;gt;true&amp;lt;/updateattributes&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the edit widget it appears to honor it.&amp;nbsp; If I have the edit widget open and click on a feature, the popup allows me to modify the attributes that I have configured, and nothing else.&amp;nbsp; If the edit widget is open, and I expand the table from the attribute table widget, I can also modify the attributes directly, but only if the edit widget is open (on editable feature layers).&amp;nbsp; Fine, this is what I was expecting to see.&amp;nbsp; However, if I have a feature selected in the edit widget, the attribute table widget gives me the option to "Delete Selected features", and if selected WILL delete the feature, even though the edit widget is set to not allow that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, where does the attribute table widget get it's options of what it is allowed to do?&amp;nbsp; Is there a way to make it honor the layer settings so that it is not possible to delete a feature from the attribute table widget?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when I select a feature with the edit widget, it will also select that feature in the attribute table, which is nice.&amp;nbsp; However, now and then, it doesn't work, and I need to close/re-open the edit widget one to many times (sometimes a refresh of viewer) before it works like that again, and will just select in the edit widget, and not pass the selection on to the attribute table widget.&amp;nbsp; Any ideas as why this is happening and/or how to fix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 20:25:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162434#M5216</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2014-07-23T20:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162435#M5217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rhett,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could turn off the ability to delete on the actual service in service manager this will ensure that accidental deletes cannot happen. I think this is where the attribute table gets its properties from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Attribute_Table_widget/01m30000004s000000/" title="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Attribute_Table_widget/01m30000004s000000/"&gt;ArcGIS Viewer for Flex&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 20:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162435#M5217</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2014-07-23T20:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162436#M5218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, still on 10.0 (don't ask me, not my choice) and that option didn't exist until 10.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the source for AttributeTableOptionsMenu.mxml I see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:HGroup id="deleteSelectionGroup"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buttonMode="true"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click="deleteSelectionGroup_clickHandler(event)"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enabled="{dataGrid.selectionLength &amp;amp;gt; 0}"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; includeInLayout="{showDeleteOption}"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; verticalAlign="middle"


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="{showDeleteOption}"&amp;gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the AttributeTableSkin.mxml:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function updateOptions(featureLayer:FeatureLayer):void
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataGrid.editable = isFeatureLayerUpdateAllowed(featureLayer);


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optionsMenu.showZoomToSelectionOption = featureLayer.map &amp;amp;&amp;amp; featureLayer.layerDetails;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optionsMenu.showDeleteOption = isDeleteOptionShown(featureLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optionsMenu.showAttachmentsOption = isAttachmentsOptionShown(featureLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optionsMenu.showRelatedRecordsOption = isRelatedRecordsOptionShown(featureLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet I can't figure out where showDeleteOption is set????&amp;nbsp;&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:31:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162436#M5218</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-11T08:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162437#M5219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a simple option would be the change the attributeTable_deleteFeaturesHandler to through a pop up that indicates features can not be deleted and remove the part that actually deletes the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1406322370637233 jive_text_macro" jivemacro_uid="_1406322370637233" modifiedtitle="true"&gt;
&lt;P&gt;private function attributeTable_deleteFeaturesHandler(event:AttributeTableEvent):void&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; const deletes:Array = event.features;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event.featureLayer.applyEdits(null, null, deletes, false,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new AsyncResponder(featureLayer_editsCompleteHandler, featureLayer_faultHandler, { featureLayer: event.featureLayer }));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14063224738575517 jive_text_macro" jivemacro_uid="_14063224738575517" modifiedtitle="true"&gt;
&lt;P&gt;private function attributeTable_deleteFeaturesHandler(event:AttributeTableEvent):void&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Records can not be deleted")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 21:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162437#M5219</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2014-07-25T21:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162438#M5220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the idea, however, that would leave it there when there is a selection, and would appear as if you could delete something until you try, then get the error message.&amp;nbsp; In this case, the delete option would never work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, looking into it more, I am assuming that the variable showDeleteOption is set in the API when a selection is made or cleared as I can't find it anywhere in the available source other than when it is called in the skins (yet the options disappears when there is no selection, so has to be dynamic somewhere).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for now, I'm going to try something like this since the options I can think of disable it permanently:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1406323422069249" jivemacro_uid="_1406323422069249" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN class="tag"&gt;&amp;lt;&lt;SPAN class="tag-name"&gt;s:HGroup&lt;/SPAN&gt; &lt;SPAN class="attribute"&gt;id&lt;/SPAN&gt;=&lt;SPAN class="attribute-value"&gt;"deleteSelectionGroup"&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;width=&lt;SPAN class="attribute-value"&gt;"100%"&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="attribute"&gt;&amp;nbsp;&amp;nbsp; buttonMode=&lt;SPAN class="attribute-value"&gt;"true"&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="attribute"&gt;&amp;nbsp;&amp;nbsp; click=&lt;SPAN class="attribute-value"&gt;"deleteSelectionGroup_clickHandler(event)"&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="attribute"&gt;&amp;nbsp;&amp;nbsp; enabled=&lt;SPAN class="attribute-value"&gt;"{dataGrid.selectionLength &amp;amp;gt; 0}"&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="attribute"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt;includeInLayout=&lt;SPAN class="attribute-value"&gt;"&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;False&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="attribute"&gt;&amp;nbsp;&amp;nbsp; verticalAlign=&lt;SPAN class="attribute-value"&gt;"middle"&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="attribute"&gt;&amp;nbsp;&amp;nbsp; visible=&lt;SPAN class="attribute-value"&gt;"&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;False&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should just remove the delete option permanently so it isn't available.&amp;nbsp; Figure if I need to be able to delete features, I can enable that in the edit widget itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 21:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162438#M5220</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2014-07-25T21:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162439#M5221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;weird... i don't see those files... would you mind posting full path to there location within in the flex project. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 22:35:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162439#M5221</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2014-07-25T22:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162440#M5222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\src\com\esri\ags\skins\supportClasses&lt;/P&gt;&lt;P&gt;\src\com\esri\ags\skins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 23:48:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162440#M5222</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2014-07-25T23:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162441#M5223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rhett,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Could you not add additional conditioning to the visible syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1406509953771305" jivemacro_uid="_1406509953771305" modifiedtitle="true"&gt;&lt;OL class="dp-xml" start="1"&gt;
&lt;LI&gt;&lt;SPAN class="tag"&gt;&amp;lt;&lt;SPAN class="tag-name"&gt;s:HGroup&lt;/SPAN&gt; &lt;SPAN class="attribute"&gt;id&lt;/SPAN&gt;=&lt;SPAN class="attribute-value"&gt;"deleteSelectionGroup"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;width=&lt;SPAN class="attribute-value"&gt;"100%"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;buttonMode=&lt;SPAN class="attribute-value"&gt;"true"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;click=&lt;SPAN class="attribute-value"&gt;"deleteSelectionGroup_clickHandler(event)"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;enabled=&lt;SPAN class="attribute-value"&gt;"{dataGrid.selectionLength &amp;amp;gt; 0}"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;includeInLayout=&lt;SPAN class="attribute-value"&gt;"False"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;verticalAlign=&lt;SPAN class="attribute-value"&gt;"middle"&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attribute"&gt;visible=&lt;SPAN class="attribute-value"&gt;"{showDeleteOption &amp;amp;&amp;amp; SomeContitionLikeLayerName}"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 01:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162441#M5223</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-28T01:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162442#M5224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmmm.....i think im going crazy as I can not find these in flash builder.. whats going on here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162442#M5224</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2014-07-28T16:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162443#M5225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will only have the skins folders if you have downloaded the flex API not just the viewer API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/flex/" title="https://developers.arcgis.com/flex/"&gt;ArcGIS API for Flex | ArcGIS for Developers&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:51:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162443#M5225</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2014-07-28T16:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162444#M5226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;never mind i figured it out. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162444#M5226</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2014-07-28T16:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162445#M5227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;totally. many thanks for the seedy response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:53:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162445#M5227</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2014-07-28T16:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162446#M5228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought about that, but would have to re-compile if I wanted to include/exclude services in the future, and I only have access to FlashBuilder now on occasion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to have that as part of the widget config.xml so could be set for each layer, but am not sure how to give the skin access to the configXML.&amp;nbsp; If it was in the basewidget, I'd just bring it in from the configXML as I am familiar with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 19:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162446#M5228</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2014-07-28T19:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162447#M5229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rhett,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The skin does have access to the host component which is the AttributeTable but that does not help you get back to the AttributeTableWidget where you could read the xml. I can think of a possible avenue I would go down if I had this requirement. In the AttributeTableWidget each tab in the widget is an AttributeTable that is created programmatically. You could try:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1406578904319138 jive_text_macro" jivemacro_uid="_1406578904319138" modifiedtitle="true"&gt;
&lt;P&gt;attributeTable.setStyle("something" , "Yourvalue from the xml");&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;then in the skin use hostComponent getStyle and see if you can read that style value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 20:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162447#M5229</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-28T20:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute table widget allowing delete records</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162448#M5230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, at first I thought that the &amp;lt;sublayer iseditable="false"&amp;gt; should remove the delete selected features, but it didn't seem to make a difference, but seems to be working now.&amp;nbsp; So, if I set the iseditable to false for a particular sublayer, when that layer has a selection in the attribute table, the delete option is no longer shown (though, I can no longer edit the attributes either....).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be nice if there were a way to not allow "geometry" edits within the Attribute Table (like you can in the Edit widget) so only the attributes can be changed.&amp;nbsp; For now, I just made all of them "not" editable in the attribute table, but set to edit attributes only in the Edit widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 19:31:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attribute-table-widget-allowing-delete-records/m-p/162448#M5230</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2014-07-31T19:31:47Z</dc:date>
    </item>
  </channel>
</rss>

