Skip to content

Commit

Permalink
Add lastColumnKeyUsesIndices
Browse files Browse the repository at this point in the history
  • Loading branch information
hoontee committed Aug 21, 2024
1 parent 7224793 commit 81bca3f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/lync/project-format/files/excel-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ The resulting table can be formatted in multiple ways.
- Whether or not the first row should be used as keys for nesting elements in the translated Excel Table.
- `numColumnKeys`: number
- Defines by how many columns each entry should be nested.
- `lastColumnKeyUsesIndices`: boolean
- Whether or not the last nesting defined by `numColumnKeys` should be treated as an array.
:::

## Examples
Expand All @@ -38,7 +40,8 @@ Given an Excel Spreadsheet named `Economy.xlsx` containing the following cells i
"spreadsheet": "Economy.xlsx",
"ref": "Pets!A1:F4",
"hasHeader": true,
"numColumnKeys": 1
"numColumnKeys": 1,
"lastColumnKeyUsesIndices": false
}
```
... the following table will appear in Roblox as a [ModuleScript](https://create.roblox.com/docs/reference/engine/classes/ModuleScript) named `Pets`:
Expand Down Expand Up @@ -87,7 +90,8 @@ Given an Excel Spreadsheet named `Players.xlsx` containing the following cells i
"spreadsheet": "Players.xlsx",
"ref": "Sheet1!C4:F7",
"hasHeader": true,
"numColumnKeys": 0
"numColumnKeys": 0,
"lastColumnKeyUsesIndices": false
}
```
... the following table will appear in Roblox as a [ModuleScript](https://create.roblox.com/docs/reference/engine/classes/ModuleScript) named `Leaderboard`:
Expand Down

0 comments on commit 81bca3f

Please sign in to comment.