Use C++ in datatable

I have tried googling but not sure correct terminology.
I have a struct in c++ but i cant see it in the list when creating a data table.


I am assuming its the declarations at the top.
TIA

make your struct derive from FTableRowBase

example

USTRUCT(BlueprintType, Blueprintable)
struct FMyTableEntry : public FTableRowBase {
	GENERATED_BODY()

	UPROPERTY(EditAnywhere, BlueprintReadWrite)
	FText MyName;
};

ofc you need to add the include

#include "Engine/DataTable.h"

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.