How can i update the ListView,i can’t find the idear for every where,thanks a lot!
Create a widget blueprint that you want to populate the List View with and implement User Entry Object List interface. Add those widgets to the List View as normal.
thank you for answer,i can add widgets to the list view ,but i can’t update the items in the list,for example, i add a text in the list ,but i can’t change the text value in the list
Never said it’s going to work well. I was secretly hoping it would work well for you!
It’s buggy as hell atm, see here:
oh,This is indeed a major mistake, anyway, thank you for your answer.
Have a look at Flemmard’s post in the link above, I think he cracked it.
I know it has been years since this thread was opened, but here is a solution to updating a list view when an entry needs to change that works very well for me:
Just call the RegenerateAllEntries function which is defined in ListViewBase and inherited by ListView and all its children (CommonListView, EditorUtilityListView, TileView and TreeView)
Thanks for this, helped me fix an issue when trying to change existing list entries.
The only way that works for me in the current source build (5.5.0) is the Regenerate All Entries
node, otherwise I have to start playing with annoying delays otherwise the GC doesn’t have time to release the widgets in my system. It would be useful to have a way to swap the order of the item easily.
otherwise I have to start playing with annoying delays otherwise the GC doesn’t ?have time to release the widgets in my system.
Can you clarify how you used delay to work around this? I have to stick to release versions for this. Regenarate all nodes not working in 5.3 or 5.4 to refresh list items.