---
title: "Comment by Leon Match on \"APEX Interactive Grid - Processing Selected Records\" | Hashnode"
description: "Hello Jon, Great post indeed. Very useful. One question though. Is it possible to process a row or rows when APEX$ROW_SELECTOR check box is unchecked? In other"
url: "https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c/comment/63e26fb1cecce1c954adfc5b"
---

[Discussion](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c)

Comment [APEX Interactive Grid - Processing Selected Records](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c)

[Leon Match](https://hashnode.com/@LeonMatch)

[Feb 7, 2023](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c/comment/63e26fb1cecce1c954adfc5b)

Hello Jon, Great post indeed. Very useful. One question though. Is it possible to process a row or rows when APEX$ROW\_SELECTOR check box is unchecked? In other words, unselected? Thank you, Leon

[Jon Dixon](https://hashnode.com/@orclapex)

[Feb 7, 2023](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c/comment/63e26fb1cecce1c954adfc5b#reply-63e2854acecce1c954ae001e)

Hi Leon, thank you for your feedback. Wouldn't it be easier (and more efficient) to pass the selected records to a PL/SQL API, then just process all the records NOT IN the selected list?

You can loop through all records in the IG using model.forEach and then see which ones are checked: [docs.oracle.com/en/database/oracle/apex/22.2/aexj…](https://docs.oracle.com/en/database/oracle/apex/22.2/aexjs/model.html#forEach)

Because you want all un-selected records, you will need to make sure you fetch all records from the server into the IG model. You can use this API to do this. Note: Depending on how many records you have, this may be very inefficient. [docs.oracle.com/en/database/oracle/apex/22.2/aexj…](https://docs.oracle.com/en/database/oracle/apex/22.2/aexjs/model.html#fetchAll)
