UDataTableFunctionLibrary::GetDataTableColumnNames
#include "Kismet/DataTableFunctionLibrary.h"
Access: public
Specifiers: staticBlueprintCallable
Description
Fills OutColumnNames with the raw property name of every column in Table's row struct.
Caveats & Gotchas
- • Returns raw UPROPERTY names, not the friendlier export names shown in a CSV/JSON export — use GetDataTableColumnExportNames for those.
- • The row name itself isn't included, since it's stored as the table's key rather than a struct property.
Signature
static void GetDataTableColumnNames(const UDataTable* Table, TArray<FName>& OutColumnNames); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| Table | const UDataTable* | The DataTable to query. | — |
| OutColumnNames | TArray<FName>& | Receives the raw property name of each column in Table's row struct. | — |
Return Type
void Example
List raw column names C++
TArray<FName> ColumnNames;
UDataTableFunctionLibrary::GetDataTableColumnNames(MyTable, ColumnNames); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?