I'm trying to use FeatureTable with Client-Side FeatureLayer
1. Create Client-Side FeatureLayer with empty source:
const featureLayer = new FeatureLayer({
});
2. Add it to map layer:
view.map.add(featureLayer);
3. Create FeatureTable with featureTable
Forrest
Solved! Go to Solution.
Hi there,
I replied on your other thread about not using FeatureLayer.source it is initialized. As for FeatureTable, please call FeatureTable.refresh() once your edits are completed. Here is a codepen showing this workflow - https://codepen.io/U_B_U/pen/PorRwbM?editors=100
It works after calling featureTable refresh method in
Hi there,
I replied on your other thread about not using FeatureLayer.source it is initialized. As for FeatureTable, please call FeatureTable.refresh() once your edits are completed. Here is a codepen showing this workflow - https://codepen.io/U_B_U/pen/PorRwbM?editors=100
It works after calling featureTable refresh method in