I have a custom widget to which I am trying to add a DataActionList component with the DataAction of ViewInTable. I am usingthe documentation from StoryBook : https://developers.arcgis.com/experience-builder/storybook/?path=/docs/components-jimu-ui-lib-dataa...
I am expecting to see thisc(below image) added to my widget with single option to "View in Table TEST"
Code:
Hi Saud,
If you are trying to add a 'View in table' action for your custom widget, I think you don't need to overwrite the 'getSupportedActions' method, you only need to make sure that your 'dataSets' content satisfies 'View in table' action's requirements.
Besides, make sure that you are not excluding 'View in table' action in your custom widget's manifest.json.