Accessing DataTable created in editor via code

If the data table inherits from a c++ USTRUCT then you can just use UDataTable::GetAllRows(). Otherwise if the data table inherits from a BP struct then you have other options. You can get all the data as an array of string arrays with UDataTable::GetTableData() or as JSON, or as a single string.

2 Likes