I have the UI which loads the record type data in Read only grid. I used 3 filters to filter the records from record type in the Grid.
In my requirement, I need to delete the filtered records from DB on "Delete" action,
Anyone knows how to assign the filtered records displayed in Read only Grid to the local variable. Where i can use that record set to delete.
Or any other suggestion to delete the filtered records.
Discussion posts and replies are publicly visible
Hello Martina Joseph
You can make use of grid with selection and save the data into a local variable.
Grid with Selection Pattern
In requirement, the 'Delete" action should be performed on the filtered records and don't want to select the records from the grid.
So trying to find the way to assign the filtered records of read only grid to local variable.
Yes, once you filter the data, select the top most option which would select the current page rows and you can do the same if you have multiple pages.
If you want to select all the rows at once, increase the page size or else I would recommend creating a custom filter using dropdown which would filter and save all the rows into selection.