I want to chang the Feature Layer of my Feature Table and reload the new data to edit them in the grid of the Feature Table widget.
myFeatureTable.featureLayer = newFeatureLayer;
The refresh() changes the title of the grid after clicking the grid. The columns and the data will not be changed.
How can I load the data of the new Feature Layer in the grid?