Can't cast GUI components in the UMG blueprint.

ListView is an incomplete widget and has been hidden until it can be finished in a later version (not 4.5). The list view is a special control that requires you to provide a set of data, a List of UObjects that it then factories a UWidget for by calling the binding setup for GenerateWidget. Your job is to take in the UObject passed to you, cast it to the data type you added to the list and then provide the correct widget for it.

But like I said - it’s very incomplete, kinda crashy, so for 4.5 it’s hidden in the palette. If you just want a dynamic list of widgets use a Scroll View and add widgets by calling AddChild. It doesn’t support virtualization so it wont support 1000’s of items like ListView would be able to, but it can support 10-100 reasonably well.

Cheers,
Nick

Hi!

It seems like it’s not possible to cast GUI components in the UMG blueprint? E.g. I’m having a ListView but can’t add items during the game, since I can’t cast from UObject.

Okay I see. Thanks!

8 months later and it’s still not unusable? I need to make a listview. What should I use now (5/11/2015)?

The listview hasn’t been high enough priority. You can use the unfinished one to create one to suit your needs, or use the scrollbox.

I am also interested in this… i am trying to use a listview in umg, but without support for it within blueprints its hard to use it… I would argue this is a really basic feature for any kind of gui application…