Hello, I have a manager class that updates and fill information in a DataTable. Also in this class there are 2 buttons “update” and “clear”. Everything works, but when I update/clear the data, I have to reopen the DataTable from the Content Browser. Is there any solution how to update the information without doing this?
void AGameManager::RefreshData()
{
StationsTable = LoadObject<UDataTable>(nullptr, *TablePath);
TSharedPtr<FJsonObject> a;
FString Path = FPaths::ProjectDir() + "Source/stations.json";
LoadAndFillDataTable(StationsTable, Path);
StationsTable->HandleDataTableChanged();
// <-- update tab here
}
void AGameManager::ClearData()
{
StationsTable->EmptyTable();
// <-- and here
}
In the screenshot below I have already updated the DataTable but it does not appear in the window on the right. I have to reopen the DataTable every time
