<?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: Add calculated value to eSearch data grid in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266516#M8075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - checking the structure of the gridDataProvider showed me that I wasn't going to be able to add this attribute by using the featureset attributes. I changed the gridDataProvider to use the graphicsLayer attributes instead. Now the new attribute shows up in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 18:54:28 GMT</pubDate>
    <dc:creator>JaneCopeland</dc:creator>
    <dc:date>2015-02-10T18:54:28Z</dc:date>
    <item>
      <title>Add calculated value to eSearch data grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266512#M8071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the eSearch widget to allow a user to select a set of polygons. The widget then calculates a value based on the attributes from those polygons. I want the attributes and the calculated value to show up in the floating data grid. I can get the attributes and the column header for the calculated value to show up but not the calculated value. Has anyone accomplished this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 14:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266512#M8071</guid>
      <dc:creator>JaneCopeland</dc:creator>
      <dc:date>2015-02-10T14:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add calculated value to eSearch data grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266513#M8072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The calculated value would have to be added as an attribute of the result before the data was sent to the datagrid unless you also do the calculation there too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 16:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266513#M8072</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-02-10T16:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add calculated value to eSearch data grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266514#M8073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - thanks for your quick reply. I had tried adding it to the search result then using a set in the SearchWidgetFloatDG file. Since the dProvider function takes the attributes from the featureset in searchwidget.mxml I can't figure out how to add it to the grid provider in the dProvider function. Should I just be able to push the name:value pair for my attribute to the _data array?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 16:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266514#M8073</guid>
      <dc:creator>JaneCopeland</dc:creator>
      <dc:date>2015-02-10T16:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add calculated value to eSearch data grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266515#M8074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have not actually do this but here is how I would approach this myself. Use ObjectUtil.toString to print out the structure of gridDataProvider and then you will know the structure of what you will be adding to gridDataProvider.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 17:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266515#M8074</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-02-10T17:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add calculated value to eSearch data grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266516#M8075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - checking the structure of the gridDataProvider showed me that I wasn't going to be able to add this attribute by using the featureset attributes. I changed the gridDataProvider to use the graphicsLayer attributes instead. Now the new attribute shows up in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 18:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/add-calculated-value-to-esearch-data-grid/m-p/266516#M8075</guid>
      <dc:creator>JaneCopeland</dc:creator>
      <dc:date>2015-02-10T18:54:28Z</dc:date>
    </item>
  </channel>
</rss>

