# Get cell index of repeating group to change on a list of jobs

**URL:** <https://forum.bubble.io/t/get-cell-index-of-repeating-group-to-change-on-a-list-of-jobs/310807>\
**Category:** Questions\
**Created:** [March 5, 2024, 3:11pm UTC](https://forum.bubble.io/t/get-cell-index-of-repeating-group-to-change-on-a-list-of-jobs/310807 "2024-03-05T15:11:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dereksparkes](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dereksparkes](https://forum.bubble.io/u/dereksparkes)\
**Post date:** [March 5, 2024, 3:11pm UTC](https://forum.bubble.io/t/get-cell-index-of-repeating-group-to-change-on-a-list-of-jobs/310807/1 "2024-03-05T15:11:47Z")

</div>

Hi all.

Does anyone know how to get the cell index or the row psition number from a repeating group to be able to then update that position within the database?

Ive been able to display the cell index number within each row of the RG but so far unable to save that cell index to the parent group. I need the item’s cell index to be stored within the database

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [March 5, 2024, 4:47pm UTC](https://forum.bubble.io/t/get-cell-index-of-repeating-group-to-change-on-a-list-of-jobs/310807/2 "2024-03-05T16:47:18Z")

</div>

This might be useful:

> [@How to get the particular item's cell index (item#) in RG or WF step](https://forum.bubble.io/t/how-to-get-the-particular-items-cell-index-item-in-rg-or-wf-step/252254):
>
> A tip to get the particular item’s cell index (item#) in RG or when using the list in WF (“make changes in the list” step) to address the previous or next item in the list: Take the list of types :format as text of id’s separated by comma extract with Regex all the commas before the target item’s id. Regex: ,(?=.\*?item\_id) count commas + 1 you got the target item’s cell index (item# in the list) P.S. I’m not sure how that performs on a very long list, but on a list of 100 items worked as a ch…

---

<div class="post-metadata">

**Author:** ![dereksparkes](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dereksparkes](https://forum.bubble.io/u/dereksparkes)\
**Post date:** [March 5, 2024, 5:30pm UTC](https://forum.bubble.io/t/get-cell-index-of-repeating-group-to-change-on-a-list-of-jobs/310807/3 "2024-03-05T17:30:44Z")

</div>

@georgecollier Thanks for this, I dont know if this is the correct thing for my use case?

I don’t need the cell index of a particular item.

The Rg by rows default goes 1,2,3,4,5 and so on. I just need that number of each row to be in the database. Seems such a simple thing, yet i cant do it

---

<div class="post-metadata">

**Author:** ![dereksparkes](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dereksparkes](https://forum.bubble.io/u/dereksparkes)\
**Post date:** [March 5, 2024, 5:40pm UTC](https://forum.bubble.io/t/get-cell-index-of-repeating-group-to-change-on-a-list-of-jobs/310807/4 "2024-03-05T17:40:58Z")

</div>

![11111111](https://us1.discourse-cdn.com/bubble/original/3X/4/a/4a0abde9a40ef26e2b5892efdb973278987e85e7.png)

 ![222222222](https://us1.discourse-cdn.com/bubble/original/3X/0/8/08aff4f766e770e24e0322a399d8df23218286c9.png)

like this. I’ve got an array of waypoint from mapbox api, it has retrieved them, im trying to get them to match to the correct item in the row. if theres a different way to do this other than cell index id be happy to trying it a different way? i dont mind what way to do it, i just need to get it done

---

<div class="post-metadata">

**Author:** ![dereksparkes](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dereksparkes](https://forum.bubble.io/u/dereksparkes)\
**Post date:** [March 7, 2024, 2:37am UTC](https://forum.bubble.io/t/get-cell-index-of-repeating-group-to-change-on-a-list-of-jobs/310807/5 "2024-03-07T02:37:26Z")

</div>

Anyone?
