# Which inline list item is clicked

**URL:** <https://community.glideapps.com/t/which-inline-list-item-is-clicked/32025>\
**Category:** Ask for Help\
**Created:** [September 20, 2021, 5:50am UTC](https://community.glideapps.com/t/which-inline-list-item-is-clicked/32025 "2021-09-20T05:50:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mns\_Glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mns_glide/32/2514_2.png) [@Mns\_Glide](https://community.glideapps.com/u/Mns_Glide)\
**Post date:** [September 20, 2021, 5:50am UTC](https://community.glideapps.com/t/which-inline-list-item-is-clicked/32025/1 "2021-09-20T05:50:55Z")

</div>

Hi,  
How do you track which inline list item the user clicks on.  
My use case -  
I have a list of 5 items for example. And this is displayed in a list form. I want to keep track when user press on an item. For example, item 1, 2, 3, 4, 5. When a user press item 3, I want to capture this info for filtering later on.

Much appreciated.

---

<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:** [September 20, 2021, 6:50am UTC](https://community.glideapps.com/t/which-inline-list-item-is-clicked/32025/2 "2021-09-20T06:50:42Z")

</div>

Probably the easiest way is to take a value associated with the list item and store it in a user specific column somewhere. The name of the item, or an index number, whatever, as long as it uniquely itentifies the item.  
You would do this as part of a custom action associated with the inline list. So the action sequence might be something like:

- Set Column Values (unique value of the list item tapped)
- Show Details Screen (of the item tapped)

---

<div class="post-metadata">

**Author:** ![Mns\_Glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mns_glide/32/2514_2.png) [@Mns\_Glide](https://community.glideapps.com/u/Mns_Glide)\
**Post date:** [September 20, 2021, 8:33am UTC](https://community.glideapps.com/t/which-inline-list-item-is-clicked/32025/3 "2021-09-20T08:33:43Z")

</div>

The cleanest way I can do is to capture a unique item, in my case is title of the event, and set it to a column in Users profile. Then it becomes a global field and can use it for filtering.

---

<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:** [September 20, 2021, 8:38am UTC](https://community.glideapps.com/t/which-inline-list-item-is-clicked/32025/4 "2021-09-20T08:38:45Z")

</div>

Yes, that works.

See also below for a similar use case:

> [@"Add Row" action for inline list: How to add data from the detail view the inline list is inside of](https://community.glideapps.com/t/add-row-action-for-inline-list-how-to-add-data-from-the-detail-view-the-inline-list-is-inside-of/32031/2):
>
> What you would need to do: In the inline list source table, add as many user specific columns as you need to hold the values you want to use Then create a single relation that joins the two tables (from the details source table to the inline list source table) Finally, modify the action on your inline list so that it is a custom action with two steps: the first step sets the values of the user specific columns in the inline list source table via the single relation, using values from your det…
