AnsweredAssumed Answered

Query to Table

Question asked by jaykappy on Jul 3, 2018
Latest reply on Jul 3, 2018 by jaykappy

Looking to push the result of a query to a table and json.  I want to show each in a different <div> in my test app

I am using the geometry of a feature to select others.


Any examples out there on how to handle and format a table.

Additionally how can I display pure JSON in another DIV


var queryTask = new QueryTask("https://xxxx/arcgis/rest/services/Test/xxx/MapServer/4");
    queryTask.execute(query, function(fs) {
    Geom = fs.features[0].geometry;
    var query = new Query();;
    var graphic = new Graphic(Geom, Symb);;
    query.geometry = Geom.getExtent();
    featureLayer.queryFeatures(query, selectforTable);

function selectforTable(response) {

// ???