SDP variable not resetting from action chain
Summary:
My SDP already has data. Now I want to reset the SDP when user clicks next record. In the action chain for click, I have resetted the SDP and then called Refresh fire data provider event. but still the SDP is not resetting. It still shows the old data of previously clicked record.
Content (please ensure you mask any confidential information):
await Actions.resetVariables(context, { variables: [ '$page.variables.pStarPositionCostingCollectionCListSDP', ], });
await Actions.fireDataProviderEvent(context, { target: $page.variables.pStarPositionCostingCollectionCListSDP, refresh: null, });
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):