<?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 The feature table does not work. To show a lot of data in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-table-does-not-work-to-show-a-lot-of/m-p/406270#M37455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the arcgis-js api version from 3.14 to 3.18.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is because the alias has not changed in 3.14.&lt;/P&gt;&lt;P&gt;But I faced one problem.&lt;/P&gt;&lt;P&gt;In 3.18, the feature table did not work when there was a lot of data.&lt;/P&gt;&lt;P&gt;I have compared the parameters of both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;3.14&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179" title="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179"&gt;http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;3.18&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179" title="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179"&gt;http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=true&amp;amp;where=1%3D1&amp;amp;…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of returnIdsOnly was different.&lt;/P&gt;&lt;P&gt;So I tried to change this parameter but I could not find a way.&lt;/P&gt;&lt;P&gt;How can I change this parameter?&lt;/P&gt;&lt;P&gt;Or how can I show a lot of data in the feature table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(map.getLayer('FeatureTableLayer')) map.removeLayer(map.getLayer('FeatureTableLayer'));&lt;BR /&gt; if(krcgis.core.EventList['table.add']) krcgis.core.EventList['table.add'].remove(); //다른 레이어 선택시 중복 이벤트 제거.&lt;BR /&gt; var result_layer_list = [];&lt;BR /&gt; var selectLayerInfos = [];&lt;BR /&gt; if (!this.cboLayer.item) {&lt;BR /&gt; return;&lt;BR /&gt; }&lt;BR /&gt; var url = selectService.url + '/' + this.cboLayer.item.LYR_ID;&lt;BR /&gt; &lt;BR /&gt; selectLayer = new FeatureLayer(url, {&lt;BR /&gt; mode: FeatureLayer.MODE_ONDEMAND, //여기를 좀 다른걸로 줘서 테스트해바바&lt;BR /&gt;// mode: FeatureLayer.MODE_SELECTION,&lt;BR /&gt; outFields: ["*"],&lt;BR /&gt; visible: false,&lt;BR /&gt; id: 'FeatureTableLayer'&lt;BR /&gt; });&lt;BR /&gt;&lt;BR /&gt; if (!selectLayer) {&lt;BR /&gt; return; //피처 레이어 객체가 생성되지 않았을 경우.&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; if (this.InfoGrid) {&lt;BR /&gt; //console.log('infoGrid after create..', this.InfoGrid);&lt;BR /&gt; //infoGrid.destroyRecursive(true);&lt;BR /&gt; this.InfoGrid.destroy();&lt;BR /&gt; }&lt;BR /&gt; map.addLayer(selectLayer);&lt;BR /&gt; krcgis.core.EventList['table.add'] = map.on('layer-add',lang.hitch(this,function(e){&lt;BR /&gt; for(var key in e.layer.fields){&lt;BR /&gt; selectLayerInfos.push(e.layer.fields[key].name);&lt;BR /&gt; }&lt;BR /&gt; krcgis.Function.Dictionary.getList("FIELD",selectLayerInfos, lang.hitch(this,function(json){&lt;BR /&gt; for (var i=0 ; i&amp;lt;selectLayerInfos.length ; i++) {&lt;BR /&gt; var ename = selectLayerInfos&lt;I&gt;;&lt;BR /&gt; var kname = ename;&lt;BR /&gt; if(json[ename]) kname = json[ename];&lt;BR /&gt; var result_layer_data = {&lt;BR /&gt; name: ename,&lt;BR /&gt; alias: kname&lt;BR /&gt; }&lt;BR /&gt; result_layer_list.push(result_layer_data);&lt;BR /&gt; }&lt;BR /&gt; this.InfoGrid.fieldInfos = result_layer_list;&lt;BR /&gt; this.InfoGrid.featureLayer.name = this.cboLayer.item.LYR_NM;&lt;BR /&gt; this.InfoGrid.startup();&lt;BR /&gt; }));&lt;BR /&gt; }));&lt;BR /&gt; var _div = dojo.place('&amp;lt;div id="_TableWidgetOnInfoGrid" style="width:100%;height:100%;"&amp;gt;&amp;lt;/div&amp;gt;', cpC.domNode);&lt;BR /&gt; this.InfoGrid = new FeatureTable({&lt;BR /&gt; featureLayer : selectLayer&lt;BR /&gt; }, _div.id);&lt;/I&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2016 12:41:04 GMT</pubDate>
    <dc:creator>ParkSeungHyun</dc:creator>
    <dc:date>2016-11-21T12:41:04Z</dc:date>
    <item>
      <title>The feature table does not work. To show a lot of data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-table-does-not-work-to-show-a-lot-of/m-p/406270#M37455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the arcgis-js api version from 3.14 to 3.18.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is because the alias has not changed in 3.14.&lt;/P&gt;&lt;P&gt;But I faced one problem.&lt;/P&gt;&lt;P&gt;In 3.18, the feature table did not work when there was a lot of data.&lt;/P&gt;&lt;P&gt;I have compared the parameters of both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;3.14&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179" title="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179"&gt;http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;3.18&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179" title="http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=false&amp;amp;where=1%3D1&amp;amp;returnGeometry=false&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=OBJECTID&amp;amp;outSR=5179"&gt;http://localhost:8080/iOpenAPI/AGS/rest/services/CadastralMap/MapServer/13/query?f=json&amp;amp;returnIdsOnly=true&amp;amp;where=1%3D1&amp;amp;…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of returnIdsOnly was different.&lt;/P&gt;&lt;P&gt;So I tried to change this parameter but I could not find a way.&lt;/P&gt;&lt;P&gt;How can I change this parameter?&lt;/P&gt;&lt;P&gt;Or how can I show a lot of data in the feature table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(map.getLayer('FeatureTableLayer')) map.removeLayer(map.getLayer('FeatureTableLayer'));&lt;BR /&gt; if(krcgis.core.EventList['table.add']) krcgis.core.EventList['table.add'].remove(); //다른 레이어 선택시 중복 이벤트 제거.&lt;BR /&gt; var result_layer_list = [];&lt;BR /&gt; var selectLayerInfos = [];&lt;BR /&gt; if (!this.cboLayer.item) {&lt;BR /&gt; return;&lt;BR /&gt; }&lt;BR /&gt; var url = selectService.url + '/' + this.cboLayer.item.LYR_ID;&lt;BR /&gt; &lt;BR /&gt; selectLayer = new FeatureLayer(url, {&lt;BR /&gt; mode: FeatureLayer.MODE_ONDEMAND, //여기를 좀 다른걸로 줘서 테스트해바바&lt;BR /&gt;// mode: FeatureLayer.MODE_SELECTION,&lt;BR /&gt; outFields: ["*"],&lt;BR /&gt; visible: false,&lt;BR /&gt; id: 'FeatureTableLayer'&lt;BR /&gt; });&lt;BR /&gt;&lt;BR /&gt; if (!selectLayer) {&lt;BR /&gt; return; //피처 레이어 객체가 생성되지 않았을 경우.&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; if (this.InfoGrid) {&lt;BR /&gt; //console.log('infoGrid after create..', this.InfoGrid);&lt;BR /&gt; //infoGrid.destroyRecursive(true);&lt;BR /&gt; this.InfoGrid.destroy();&lt;BR /&gt; }&lt;BR /&gt; map.addLayer(selectLayer);&lt;BR /&gt; krcgis.core.EventList['table.add'] = map.on('layer-add',lang.hitch(this,function(e){&lt;BR /&gt; for(var key in e.layer.fields){&lt;BR /&gt; selectLayerInfos.push(e.layer.fields[key].name);&lt;BR /&gt; }&lt;BR /&gt; krcgis.Function.Dictionary.getList("FIELD",selectLayerInfos, lang.hitch(this,function(json){&lt;BR /&gt; for (var i=0 ; i&amp;lt;selectLayerInfos.length ; i++) {&lt;BR /&gt; var ename = selectLayerInfos&lt;I&gt;;&lt;BR /&gt; var kname = ename;&lt;BR /&gt; if(json[ename]) kname = json[ename];&lt;BR /&gt; var result_layer_data = {&lt;BR /&gt; name: ename,&lt;BR /&gt; alias: kname&lt;BR /&gt; }&lt;BR /&gt; result_layer_list.push(result_layer_data);&lt;BR /&gt; }&lt;BR /&gt; this.InfoGrid.fieldInfos = result_layer_list;&lt;BR /&gt; this.InfoGrid.featureLayer.name = this.cboLayer.item.LYR_NM;&lt;BR /&gt; this.InfoGrid.startup();&lt;BR /&gt; }));&lt;BR /&gt; }));&lt;BR /&gt; var _div = dojo.place('&amp;lt;div id="_TableWidgetOnInfoGrid" style="width:100%;height:100%;"&amp;gt;&amp;lt;/div&amp;gt;', cpC.domNode);&lt;BR /&gt; this.InfoGrid = new FeatureTable({&lt;BR /&gt; featureLayer : selectLayer&lt;BR /&gt; }, _div.id);&lt;/I&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 12:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-feature-table-does-not-work-to-show-a-lot-of/m-p/406270#M37455</guid>
      <dc:creator>ParkSeungHyun</dc:creator>
      <dc:date>2016-11-21T12:41:04Z</dc:date>
    </item>
  </channel>
</rss>

