# C++ UListView Dynamic Data

**URL:** <https://forums.unrealengine.com/t/c-ulistview-dynamic-data/455366>\
**Category:** UI\
**Tags:** listview, unreal-engine, UInterface, UI, CPP, question\
**Created:** [September 15, 2019, 9:29am UTC](https://forums.unrealengine.com/t/c-ulistview-dynamic-data/455366 "2019-09-15T09:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb02e9a3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb02e9a3](https://forums.unrealengine.com/u/anonymous_user_fb02e9a3)\
**Post date:** [September 15, 2019, 9:29am UTC](https://forums.unrealengine.com/t/c-ulistview-dynamic-data/455366/1 "2019-09-15T09:29:49Z")

</div>

I’m trying to have a UListView with dynamic data using C++.

I have a UUserWidget that has a ListView called QuestListView.

I can get an instance of it with the following code:

```
UListView* listView = (UListView*)CurrentWidget->GetWidgetFromName("QuestListView");
```

My EntityWidgetClass has a Canvas Panel that contains two sub UI elements.

TextBlock named QuestName to show the quest’s name,  
Progress Bar named QuestProgress to show how far the player is into the quest.

![287392-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/1/541ac283dd54e0836ac595a54eb4b275232fc862.png)

I have read that listView-\>AddItem takes in a UObject.

How do I map the UObject properties to the UIListView’s EntityWidgetClass?

I’d prefer to not use blueprints if at all possible. From what I have seen, they tend to get really messy.

Thanks,  
Marty

---

<div class="post-metadata">

**Author:** ![cmadh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cmadh](https://forums.unrealengine.com/u/cmadh)\
**Post date:** [October 28, 2019, 7:13pm UTC](https://forums.unrealengine.com/t/c-ulistview-dynamic-data/455366/2 "2019-10-28T19:13:52Z")

</div>

Same Question.  
**Bump.**
