UDataTableFunctionLibrary::GetDataTableRowNames
#include "Kismet/DataTableFunctionLibrary.h"
Access: public
Specifiers: staticBlueprintCallable
Description
Fills OutRowNames with the name of every row in Table, in the table's internal storage order.
Caveats & Gotchas
- • OutRowNames is emptied and repopulated on every call, not appended to.
- • Order reflects the table's internal row order (typically import order), not alphabetical or any guaranteed logical ordering.
Signature
static void GetDataTableRowNames(const UDataTable* Table, TArray<FName>& OutRowNames); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| Table | const UDataTable* | The DataTable to query. | — |
| OutRowNames | TArray<FName>& | Receives the name of every row in Table. | — |
Return Type
void Example
List all row names C++
TArray<FName> RowNames;
UDataTableFunctionLibrary::GetDataTableRowNames(MyTable, RowNames);
for (const FName& RowName : RowNames)
{
UE_LOG(LogTemp, Log, TEXT("Row: %s"), *RowName.ToString());
} See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?