# Data section only shows first row, and increment buttons only apply to this row

**URL:** <https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726>\
**Category:** Ask for Help\
**Created:** [July 18, 2022, 2:45pm UTC](https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726 "2022-07-18T14:45:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fruit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fruit/32/45104_2.png) [@fruit](https://community.glideapps.com/u/fruit)\
**Post date:** [July 18, 2022, 2:45pm UTC](https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726/1 "2022-07-18T14:45:20Z")

</div>

![Screen Shot 2022-07-18 at 10.40.31 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/d/9dac2ee921bf6d01a6bdf11b6beb97a04afca5ff.png)

I am trying to create a page where you can add increments to the number value cell when it is selected (a scoreboard).  
As you can see in the screenshot, when I select the data tab, it is only showing my first row.  
When I add an increment action to a button, the only option for ROW is “This Item”

I am wondering how to make the action apply to the row I have selected, in the point column.  
Let me know if more information is required for this post, and I appreciate any and all help 🙂

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 18, 2022, 3:43pm UTC](https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726/2 "2022-07-18T15:43:29Z")

</div>

What you see is expected.  
To get what you want you would need to display the table using a Collection, and then you could use an Increment action on your Collection Items.

---

<div class="post-metadata">

**Author:** ![fruit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fruit/32/45104_2.png) [@fruit](https://community.glideapps.com/u/fruit)\
**Post date:** [July 18, 2022, 4:21pm UTC](https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726/3 "2022-07-18T16:21:55Z")

</div>

Appreciate the reply, Darren\_Murphy.  
I am currently displaying the table using a ‘Data Grid’ collection, and have several buttons with different increment values underneath.

 ![Screen Shot 2022-07-18 at 12.13.03 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/6/b607a4472aac8a3990653972da68a36ea2996ac4.png)  
When I hit one of these buttons, the action works, but it only applies to the top row (in this case, Amanda’s points go up by x).  
I am trying to make it so that I can apply these increment actions to whatever row I choose (e.g. clicking “Individual Reward” and then applying points to “JT” points in row 8.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 18, 2022, 4:26pm UTC](https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726/4 "2022-07-18T16:26:11Z")

</div>

Yes, that won’t work because you can only directly target the current row. As I said, the way to get what you want is by using a Collection, and then you can have a button (or series of buttons) on each collection item that applies the increments.

There is no way to do what you want with a Data Grid.

---

<div class="post-metadata">

**Author:** ![fruit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fruit/32/45104_2.png) [@fruit](https://community.glideapps.com/u/fruit)\
**Post date:** [July 18, 2022, 4:31pm UTC](https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726/5 "2022-07-18T16:31:01Z")

</div>

Again, appreciate your help.  
Your use of ‘Collection’ is where I’m lost, because a data grid is a ‘collection’ per my Components tab.  
But I will trust your judgement that it can’t be done.  
Ideally, I have one set of buttons and they will apply to whatever is selected, but given your responses (and the attitude you’ve decided to take on) I’m thinking that’s not really possible.  
Thanks for your patience

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 18, 2022, 4:37pm UTC](https://community.glideapps.com/t/data-section-only-shows-first-row-and-increment-buttons-only-apply-to-this-row/44726/6 "2022-07-18T16:37:35Z")

</div>

> [@fruit](#):
>
> Your use of ‘Collection’ is where I’m lost, because a data grid is a ‘collection’ per my Components tab.

Ah yes, sorry. I should have been more explicit. You need to use one of the Collection types that supports actions. So any of List, Grid, Card or Table would work.
