Unreal.js
Unreal.js copied to clipboard
JavascriptTreeView doesn't work on UE4.20
JavascriptTreeView(also JavascriptListView) doesn't work on UE4.20.
TreeView is displayed empty with error message "No EntryWidgetClass specified on this list".
It seems UListViewBase::EntryWidgetClass(new property added in 4.20) is null. How can I set EntryWidgetClass to JavascriptTreeView?
The Unreal Internal API has changed and you need to specify a Class declared pre-declared as EntryWidgetClass. Class can be declared in C ++, BP, Javascript.
@HirofumiYoshida Have you resolve the problem?
https://github.com/ncsoft/Unreal.js/issues/232
Please define a new class as follow:
class MyListView extends JavascriptListView { ctor() { this.EntryWidgetClass = JavascriptUserObjectListEntry } } let MyListView_C = uclass(MyListView)