Skip to main content
June 18, 2024
Question

How to get/assign the filtered records from Read only Grid

  • June 18, 2024
  • 3 replies
  • 0 views

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.

    3 replies

    konduruc733182
    June 18, 2024

    Hello [mention:06fd29ae006f499880f941f3e43d9386:e9ed411860ed4f2ba0265705b8793d05] 

    You can make use of grid with selection and save the data into a local variable. 


    Grid with Selection Pattern

    June 18, 2024

    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.

    konduruc733182
    June 18, 2024

    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.