AnsweredAssumed Answered

groupBy property of FeatureTemplates widget (beta)

Question asked by yuki_ozawaesrij-esridist Employee on Dec 26, 2018
Latest reply on Dec 27, 2018 by yuki_ozawaesrij-esridist

I am using FeatureTemplates widget (beta) of ArcGIS API for JavaScript 4.10.

When add multiple layers with FeatureTemplates widget and group by layer (set the groupBy property to "layer"), the template will be displayed in the wrong column (FeatureTemplates.png).


const templates = new FeatureTemplates({
    container: "addTemplatesDiv",
    layers: [featureLayer1, featureLayer2],
    groupBy: "layer"

Setting the groupBy property to "none" will display it correctly.