<?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: Integrating a Datagrid on Pop-up in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567201#M12794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kaarim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; There is a forum specific to the Flex Viewer that you should post Flex Viewer questions to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The CDATA section in the description can only have a very limited subset of HTML tags. It does not support MXML code. to do what you want you will have to modify extend the Flex API's PopUpRendererSkin.mxml (obtained from the Flex API source download, not part of the Flex Viewers source).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2012 14:34:45 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-06-07T14:34:45Z</dc:date>
    <item>
      <title>Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567200#M12793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm working on Flex viewers 2.5 source code and the Flash builder 4.6&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First i wanted to add a pop-up on the maps containing few line on the texte by following this example &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Pop_up_configuration_files/01m30000002q000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Pop_up_configuration_files/01m30000002q000000/&lt;/A&gt;&lt;SPAN&gt; .. and every thing gone alright&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I tried to add a small datagrid on This&amp;nbsp; Pop-up windows it&amp;nbsp; doesn't work it throw an error (Error #1083).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does any one knows how i can do it &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Few line of my source code&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;description&amp;gt;
&amp;lt;![CDATA[&amp;lt;b&amp;gt;................. " text"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/b&amp;gt; &amp;lt;A HREF="http://..../"&amp;gt; see more... &amp;lt;/A&amp;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;gt;
&amp;nbsp; 
&amp;nbsp; &amp;lt;mx:DataGrid width="100%" height="40%" sortableColumns="True"&amp;nbsp; editable ="true"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:columns&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:DataGridColumn headerText="Column 1" dataField="col1"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:DataGridColumn headerText="Column 2" dataField="col2"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:DataGridColumn headerText="Column 3" dataField="col3"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mx:columns&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mx:DataGrid&amp;gt;

&amp;lt;/description&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards Km&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567200#M12793</guid>
      <dc:creator>kaarimelmaanani</dc:creator>
      <dc:date>2021-12-12T00:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567201#M12794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kaarim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; There is a forum specific to the Flex Viewer that you should post Flex Viewer questions to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The CDATA section in the description can only have a very limited subset of HTML tags. It does not support MXML code. to do what you want you will have to modify extend the Flex API's PopUpRendererSkin.mxml (obtained from the Flex API source download, not part of the Flex Viewers source).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 14:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567201#M12794</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-07T14:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567202#M12795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for replying&amp;nbsp; rscheitlin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i don't get what your told me to do &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have downloaded " PopUpRendererSkin.mxml " from the API Source code , do i have to import it in my flex viewers porject under the popups package ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm lost .. i don't have any idea how to proceed &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you give me more details about the step to do ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 08:56:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567202#M12795</guid>
      <dc:creator>kaarimelmaanani</dc:creator>
      <dc:date>2012-06-08T08:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567203#M12796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kaarim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Yes you take the PopUpRenderer.mxml from the API download and place it in your Flex Viewer project either in your widgets package folder or the src/com/esri/viewer/skins/ folder and make your code changes by adding the datagrid to the fx Declarations section and in the commitProperties function is where you add it to the vGroup. You will then need to add these lines to the default.css in your project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;esri|PopUpRenderer
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; skin-class: ClassReference("com.esri.viewer.skins.PopUpRendererSkin");
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That shows you the basics of getting started. I assume because you are even attempting this that you have the coding skill to get done what you are attempting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567203#M12796</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T00:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567204#M12797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the answer &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Kaarim,&lt;BR /&gt; / and make your code changes by adding the datagrid to the fx Declarations section and in the commitProperties function is where you add it to the vGroup. You will then need to add these lines to the default.css in your project.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But i still don't get it&amp;nbsp; .. can you be more patient and give me some explanation ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards KM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 12:53:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567204#M12797</guid>
      <dc:creator>kaarimelmaanani</dc:creator>
      <dc:date>2012-06-08T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567205#M12798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kaarim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; What part are you not understanding?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 13:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567205#M12798</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-08T13:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567206#M12799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The parts In quotes ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;adding the datagrid to the fx Declarations section&amp;nbsp; i used this ( a blank grid)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;mx:DataGrid width="100%" height="40%" sortableColumns="True"&amp;nbsp; editable ="true"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:columns&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:DataGridColumn headerText="Column 1" dataField="col1"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:DataGridColumn headerText="Column 2" dataField="col2"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:DataGridColumn headerText="Column 3" dataField="col3"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/mx:columns&amp;gt;
&amp;nbsp; &amp;lt;/mx:DataGrid&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in the commitProperties function is where you add it to the vGroup. How ? do you have any example&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567206#M12799</guid>
      <dc:creator>kaarimelmaanani</dc:creator>
      <dc:date>2021-12-12T00:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating a Datagrid on Pop-up</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567207#M12800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kaarim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; No I don't have an example, I am providing advice not actually doing the coding. If you look at the commitProperties function you will see how other items that are in the declarations section are added by using the vGroup.addElement and then using the id of the component in the declarations section (I notice that you datagrid does not have an id). If you are struggling with this part you are probably in over your head.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 13:53:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/integrating-a-datagrid-on-pop-up/m-p/567207#M12800</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-08T13:53:27Z</dc:date>
    </item>
  </channel>
</rss>

