# How can I change the button number in the list view on the UI

**URL:** <https://forums.unrealengine.com/t/how-can-i-change-the-button-number-in-the-list-view-on-the-ui/1994926>\
**Category:** Blueprint\
**Tags:** listview, datatable, unreal-editor-for-fortnite, Blueprint, fortnite\
**Created:** [August 28, 2024, 7:11am UTC](https://forums.unrealengine.com/t/how-can-i-change-the-button-number-in-the-list-view-on-the-ui/1994926 "2024-08-28T07:11:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kam5251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kam5251](https://forums.unrealengine.com/u/kam5251)\
**Post date:** [August 28, 2024, 7:11am UTC](https://forums.unrealengine.com/t/how-can-i-change-the-button-number-in-the-list-view-on-the-ui/1994926/1 "2024-08-28T07:11:03Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/1/381f4ed1ca7a8e5a4240e52fca2cab78c5717c85.jpeg)

Hello, I’m a beginner in Unreal Engine.

I’m using a ListView to display buttons with values in a list. When a button is pressed, it calculates the value and displays it on the screen. I want to add a feature that allows users to change the value on the button directly from the UI. How can I do that?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/7/877112c66506ab9a42880234a440e92713fd907a.jpeg)

TestDataTable  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/6/1f61555633df12ec2f44d6ef14f972d1da903d28.png)

TestStructre

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/b/2db25f85ab0d0a169d6ee47d3e6b9e3da3223751.png)

BP\_ListViewDataEntry

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/d/63d381c20250300a1a2cb1c8e3a5e67b3066c328.png)

UMG\_ListViewEntry

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/0/d209efe10a2dfed5f6164a75c5887c59cfe1aaca.png)

Datainstance  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/6/386ffa537c6842774232ddca30a3ad6a2cceaf3d.png)

UMG\_Main

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/0/6a0acee25718378c028ca899e070f92a70aff47c.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/c/27c51ce0aed8fae0da7d71de54884c5346772d14.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/a/d9aa59a8e4332b38725a847fb3939ca54ad59ca7.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/0/be0bf0cfca41fc71f41ffa120077c4aa574f14e5.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/e/f3e98d818635519fc79e46e517933c545d8b4cc3.png)

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 28, 2024, 2:26pm UTC](https://forums.unrealengine.com/t/how-can-i-change-the-button-number-in-the-list-view-on-the-ui/1994926/2 "2024-08-28T14:26:10Z")

</div>

You can add a text box in your `UMG_ListViewEntry` in place of the sum and initialize it on List Item Object Set.  
Then on TextCommited you can calculate and set the value in the `BP_ListViewDataEntry` and update it in the text.  
The values will remain in the ListVewObjects as long as the list exists.
