How to Clear/Delete the data in ArrayDataProvider
Summary
How to Clear/Delete the data in ArrayDataProviderContent
I have search form where I have 2 buttons where one is Search and another one is Purge.
Search will search for a data using ORDS call and updates the ADP with the response, its working fine.
In Search Action chain I am using Reset Variables to reset the ADP before calling Rest API and its working fine.
After Searching when you click on Purge, I am calling ORDS API to delete the rows and then Reset Variable to reset the ADP.
In this case ADP data is not getting reset and still ADP is holding the data.
Tagged:
0