I am struggling to figure out how to create a DataSource from a FeatureLayer that is created in a Widget.tsx.
I am not allowing the user to select a DataSource, I am creating a FeatureLayer in code and then adding it to the map. Now I want to open this FeatureLayer in the Table widget so I need a DataSource to pass.
@ShengdiZhang