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

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?

TestDataTable
image

TestStructre

BP_ListViewDataEntry

UMG_ListViewEntry

Datainstance
image

UMG_Main

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.

1 Like