<?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 Assign a column as dgrid's row id, without using store? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assign-a-column-as-dgrid-s-row-id-without-using/m-p/321881#M29613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In OnDemandGrid, when creating a data store there is a property where you can assign one of the columns in your data store as the row id column, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14065880180998569" jivemacro_uid="_14065880180998569"&gt;
&lt;P&gt;var memStore = new Memory({&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; data : data,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; idProperty : 'OBJECTID'&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of bugs I was encountering using OnDemandGrid I switched to just Grid and using grid.renderArray(data). But is there a way using Grid to assign a column to be used for the row ids instead of them being assigned automatically? I've been unable to find anything in the documentation or forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 22:56:08 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-07-28T22:56:08Z</dc:date>
    <item>
      <title>Assign a column as dgrid's row id, without using store?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assign-a-column-as-dgrid-s-row-id-without-using/m-p/321881#M29613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In OnDemandGrid, when creating a data store there is a property where you can assign one of the columns in your data store as the row id column, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14065880180998569" jivemacro_uid="_14065880180998569"&gt;
&lt;P&gt;var memStore = new Memory({&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; data : data,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; idProperty : 'OBJECTID'&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of bugs I was encountering using OnDemandGrid I switched to just Grid and using grid.renderArray(data). But is there a way using Grid to assign a column to be used for the row ids instead of them being assigned automatically? I've been unable to find anything in the documentation or forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 22:56:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assign-a-column-as-dgrid-s-row-id-without-using/m-p/321881#M29613</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-07-28T22:56:08Z</dc:date>
    </item>
  </channel>
</rss>

