Hi,
I have an interface with a read-only grid. I am loading the data into read-only grid using RECORD TYPE and also I have used selectable, selectionValue, selectionSaveInto properties.
I would like to implement delete functionality, where I need to allow multiple rows to be selected and click on "DELETE" button so that those selected rows of data should be deleted from the database table.
Discussion posts and replies are publicly visible
There are 2 ways of doing it and you can decide based on your requirement.
Now if you want to generate the memory footprint and so some more operations in addition to deleting the data, you can use the second option or else first option should be fine.
I am trying with the option-1, but I did not find a!deleteRecords.
I am using version 21.4, I am not sure a!deleteRecords is available after 21.4 version.
you can use a!deleteFromDataStoreEntity
a!deleteRecords() function was introduced in 22.3 version. In your case, you can use a!deleteFromDataStoreEntity() function.