# Change border of selected list item

**URL:** <https://community.glideapps.com/t/change-border-of-selected-list-item/53310>\
**Category:** Ask for Help\
**Created:** [November 4, 2022, 12:51pm UTC](https://community.glideapps.com/t/change-border-of-selected-list-item/53310 "2022-11-04T12:51:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [November 4, 2022, 12:51pm UTC](https://community.glideapps.com/t/change-border-of-selected-list-item/53310/1 "2022-11-04T12:51:38Z")

</div>

Sorry I have to ask again.  
How can I detect the selected item in a horizontal tiles list? I want to append a colorful border around the selcted item. But I can’t seem to make this work.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 5, 2022, 12:57am UTC](https://community.glideapps.com/t/change-border-of-selected-list-item/53310/2 "2022-11-05T00:57:06Z")

</div>

Firstly though, how do you define a “selected item”? What is your use case?

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [November 5, 2022, 7:47am UTC](https://community.glideapps.com/t/change-border-of-selected-list-item/53310/3 "2022-11-05T07:47:32Z")

</div>

I’m not sure I’m following you. What do you mean by “use case”?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 5, 2022, 9:12am UTC](https://community.glideapps.com/t/change-border-of-selected-list-item/53310/4 "2022-11-05T09:12:03Z")

</div>

I mean if you’re not showing the details screen of a list, you must be setting some sort of value to know which one is “selected”, right? I just want to know more about your use case to understand the situation better.

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [November 5, 2022, 9:30am UTC](https://community.glideapps.com/t/change-border-of-selected-list-item/53310/5 "2022-11-05T09:30:57Z")

</div>

First of all. My list, where I want to detect the selected row, is a horizontal tiles list of different basketball players. When a row has been selected an action changes a user-specific value in the users table.  
The new value is the selected basketball players name. If you then click the selected row again, it clears the user-specific value.  
It doesn’t support multiple selection.  
Let me know if you need more info

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [November 5, 2022, 7:43pm UTC](https://community.glideapps.com/t/change-border-of-selected-list-item/53310/6 "2022-11-05T19:43:22Z")

</div>

have two sets of player’s images… when clicked, swap the picture… the new Glide upgrade makes it almost impossible to target a specific item of the list
