<?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: on demand grid not working with 4.0 api in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412218#M37975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a few minor changes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 21:33:18 GMT</pubDate>
    <dc:creator>PeteVitt</dc:creator>
    <dc:date>2018-01-31T21:33:18Z</dc:date>
    <item>
      <title>on demand grid not working with 4.0 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412215#M37972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I'm populating an ondemand dgrid with data and it works if I'm using 3.x api library,&amp;nbsp; but not the 4.x library.&amp;nbsp; Is anyone aware of issues with dgrid in the 4.x library? my code, identical for both apis is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BusinessGetConfirm: function (data, msg) {&lt;BR /&gt; //set grid with business data fromdatabase&lt;BR /&gt; if (msg === "ok") {&lt;BR /&gt; var testdata = [&lt;BR /&gt; { ID: 1, Contact: "bob", Company: "tester", Address: "123", City: "Yucaipa", Zip: "92372", NAICS6: "123", NAICS6DESC: "DESC", NAICS8: "123", NAICS8DESC: "DESC" },&lt;BR /&gt; { ID: 1, Contact: "bob", Company: "test", Address: "123", City: "Yucaipa", Zip: "92372", NAICS6: "123", NAICS6DESC: "DESC", NAICS8: "123", NAICS8DESC: "DESC" }&lt;BR /&gt; ]&lt;BR /&gt; //businessStore = new Memory({ data: data.BusinessGetResult, idProperty: "ID" });&lt;BR /&gt; var businessStore = new Memory({ data: testdata });&lt;BR /&gt; grid = new (declare([OnDemandGrid, DijitRegistry]))({&lt;BR /&gt; store: businessStore,&lt;BR /&gt; columns: {&lt;BR /&gt; ID: "ID",&lt;BR /&gt; Contact: "Contact",&lt;BR /&gt; Company: "Company",&lt;BR /&gt; Address: "Address",&lt;BR /&gt; City: "City",&lt;BR /&gt; Zip: "Zip",&lt;BR /&gt; NAICS6: "NAICS6",&lt;BR /&gt; NAICS6DESC: "NAICS6Desc",&lt;BR /&gt; NAICS8: "NAICS8",&lt;BR /&gt; NAICS8DESC: "NAICS8Desc"&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;}, "BusinessGridDiv");&lt;BR /&gt; grid.startup();&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; }&lt;BR /&gt; else {&lt;BR /&gt; alert(msg)&lt;BR /&gt; }&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version 3.0 result&lt;/P&gt;&lt;P&gt;&lt;IMG alt="api 3.0 results" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/395391_v3.0.jpg" style="width: 620px; height: 337px;" /&gt;&lt;/P&gt;&lt;P&gt;Version 4.0 result&lt;/P&gt;&lt;P&gt;&lt;IMG alt="version 4.0 result -- empty grid" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/395392_v4.0.jpg" style="width: 620px; height: 495px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 19:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412215#M37972</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2018-01-31T19:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: on demand grid not working with 4.0 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412216#M37973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure to check out the versions used in 4.x, for example:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#additional-packages" title="https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#additional-packages"&gt;Additional packages&lt;/A&gt;.&amp;nbsp; It could be something simple like setting the 'collection' property instead of 'store', or it could be something more complicated depending on what dgrid/dstore functionality you'd like to use.&amp;nbsp; Check out the migration guide here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/SitePen/dgrid/blob/v1.2.1/doc/migrating/0.4-Migration.md" title="https://github.com/SitePen/dgrid/blob/v1.2.1/doc/migrating/0.4-Migration.md"&gt;dgrid/0.4 Migration&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 19:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412216#M37973</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2018-01-31T19:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: on demand grid not working with 4.0 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412217#M37974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John, this is very helpful -- I'll check it out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 20:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412217#M37974</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2018-01-31T20:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: on demand grid not working with 4.0 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412218#M37975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a few minor changes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 21:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/on-demand-grid-not-working-with-4-0-api/m-p/412218#M37975</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2018-01-31T21:33:18Z</dc:date>
    </item>
  </channel>
</rss>

