Shivamyadav's avatar

How to select all the records from the listings from the pagination?

I have created a notification listing with the pagination but I want to delete all the notifications or only the selected one to delete it.

  1. I was using the checkbox for each record and the top header select all the records form the listing and it selects all the records but only from which ever page I select the header checkbox to select all the listing.
  2. When I go to the 2nd page it's record listings was not selected how to get the all the listing selected within the pagination too?
0 likes
7 replies
Sergiu17's avatar
Level 60

Since not all the records are loaded - there's no way to know which records to select, you'd need to send a key in order to remove all, for example, selected_all=true

1 like
Shivamyadav's avatar

After reading your reply. I thought yeah this is the way I can achieve it.

Also I can check the every pagination data listing with that source of truth and mark the checkbox for every visiting page to checked the box to provide the feedback to the user and got the some help from the AI to unselected paginations data listing could be added to the another source of truth like. excluded_records which will hold the ID's which does not required to be deleted.

Please or to participate in this conversation.