/Engine/Source/Editor/UnrealEd/Public/DataTableEditorUtils.h
Generic version that works with any datatable-like structure
static void CacheDataForEditing ( const [UScriptStruct](API\Runtime\CoreUObject\UObject\UScriptStruct) * RowStruct, const [TMap](API\Runtime\Core\Containers\TMap)< [FName](API\Runtime\Core\UObject\FName), uint8 * > & RowMap, [TArray](API\Runtime\Core\Containers\TArray)< FDataTableEditorColumnHeaderDataPtr > & OutAvailableColumns, [TArray](API\Runtime\Core\Containers\TArray)< FDataTableEditorRowListViewDataPtr > & OutAvailableRows )