AnsweredAssumed Answered

JSAPI Feature layer created from feature collection and the feature table

Question asked by cschinkel on Mar 8, 2016
Latest reply on May 13, 2016 by jestanford

I'm currently working on creating a feature layer from a feature collection and then creating a feature table based on the feature layer (that's a mouthful!).  This all works, except that when I select a row in the feature table the following error shows in the console.  Does anyone know if this setup is supported?  I am using 3.16 of the API.  Here is a link to a demo of what I am trying to accomplish.  http://plnkr.co/edit/4k1gdO?p=preview

 

 

TypeError: Object doesn't
support property or method 'emit' TypeError: Object doesn't support property or
method 'emit'

   at Anonymous
function (http://js.arcgis.com/3.16/esri/dijit/FeatureTable.js:74:136)

   at c (https://js.arcgis.com/3.16/:66:215)

   at then (https://js.arcgis.com/3.16/:68:301)

   at b.then (https://js.arcgis.com/3.16/:1038:300)

   at Anonymous
function (http://js.arcgis.com/3.16/esri/dijit/FeatureTable.js:73:329)

   at Anonymous
function (https://js.arcgis.com/3.16/:167:287)

   at k (https://js.arcgis.com/3.16/:189:425)

   at b.then (https://js.arcgis.com/3.16/:192:308)

   at Anonymous
function (http://js.arcgis.com/3.16/esri/dijit/FeatureTable.js:73:213)

   at Anonymous
function (https://js.arcgis.com/3.16/:167:287)

 

 

 

Outcomes