# Displaying an array in a list view?

**URL:** <https://forums.unrealengine.com/t/displaying-an-array-in-a-list-view/2650559>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [August 24, 2025, 7:50pm UTC](https://forums.unrealengine.com/t/displaying-an-array-in-a-list-view/2650559 "2025-08-24T19:50:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nortksi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nortksi](https://forums.unrealengine.com/u/Nortksi)\
**Post date:** [August 24, 2025, 7:50pm UTC](https://forums.unrealengine.com/t/displaying-an-array-in-a-list-view/2650559/1 "2025-08-24T19:50:31Z")

</div>

I can’t seem to find any clear instruction on how I can display an array of stucts in a list view.

My array is in the game instance and I want to display a field from the struct in a list view. I have created both the list view and list view entry widget blueprints and have interfaced them.

I thought it would be a simple case of looping through the array and updating the text of each entry widget but it only displays the last entry.

List view widget:

 ![teamselect](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/4/d9498d2b17525df3bd4a4276200c8ddf3ea49ad4.jpeg)

Entry widget:

 ![listentry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/c/7ac2f5acd3b525aad85239ee426c3425ed02f886.jpeg)

---

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [August 26, 2025, 2:21pm UTC](https://forums.unrealengine.com/t/displaying-an-array-in-a-list-view/2650559/2 "2025-08-26T14:21:20Z")

</div>

HI @Nortksi ,  
From what I’ve looked into, I think the issue with your code is that the array is being used incorrectly inside the Entry. Each Entry in the ListView is supposed to receive a single instance of data , and render itself with that in On List Item Object Set.  
If instead you pass the entire array into the Entry and loop over it there, you’ll just keep overwriting the same TextBlock multiple times, and only the last value ends up showing.

Here are a couple of guides/tutorials that explain the proper setup:

> [@Listview - getting started in BP](https://forums.unrealengine.com/t/listview-getting-started-in-bp/123626):
>
> I am creating this guide since I had trouble grasping the listview at first, seeing many have the same struggle and there not being any good information about them in a blueprint context. The listview should be pretty straight forward to use once you got the basic grasp of it. Note!:If a widget is generated for one instance more than once, the engine will crash. So any instance should only be in the listview once. Note! If the node “Is List Item Selected”, part of the entrywidget class, is us…

> [@Quick-Start guide to List View widget](https://forums.unrealengine.com/t/quick-start-guide-to-list-view-widget/738161):
>
> This post is intended to be a quick-start guide to get List View up and running with simple add, edit, and remove functionality. For more advanced stuff, you may have to find another forum post to help with that. None of this will be groundbreaking information, it’s mostly information that me, from 2 weeks ago, would’ve liked to have as a reference when first getting into all of this. This only applies to List View and Tile View I have not experimented with Tree View, but maybe I’ll try work…

This tutorial might be more useful to you.

[https://medium.com/%40TechArtCorner/list-view-in-unreal-engine-umg-blueprint-7a08b7987820](https://medium.com/%40TechArtCorner/list-view-in-unreal-engine-umg-blueprint-7a08b7987820)

Hope this helps !

---

<div class="post-metadata">

**Author:** ![Nortksi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nortksi](https://forums.unrealengine.com/u/Nortksi)\
**Post date:** [August 26, 2025, 4:11pm UTC](https://forums.unrealengine.com/t/displaying-an-array-in-a-list-view/2650559/3 "2025-08-26T16:11:20Z")

</div>

Hey, thanks for replying.  
I managed to figure it out in the end. I needed to create another class to hold a list entry from the array and construct it each time within the loop and pass this object into AddItem..  
My understanding is then the AddItem function calls the OnEntryInitialized event and that’s where the data can be accessed from.

 ![Capture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/8/c986778cd7a528a263eee56816870ada3e0e0b08.jpeg)

 ![Capture2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/9/e49dc6a407e5e7481daca44c6182b3e0a0635638.jpeg)
