You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be great to have support for array of array so that we can have two columns in a sheet with the same name let table = [ ['Name', 'Age', 'Name'], // <-- Notice we have "Name" twice (duplicate columns) ['Alice', 25, 'DuplicateColumnData'], ['Bob', 30, 'AnotherDuplicateColumnData'] ];
Whereas this will not work
let table = [
{ Name: 'Alice', Age: 25, Name: 'DuplicateColumnData' }, // <-- This is not valid JavaScript!
{ Name: 'Bob', Age: 30, Name: 'AnotherDuplicateColumnData' } // <-- This too is not valid JavaScript!
];
The use case for this is that a sheet has two heading rows and the column names are only unique within one group
The text was updated successfully, but these errors were encountered:
it would be great to have support for array of array so that we can have two columns in a sheet with the same name
let table = [ ['Name', 'Age', 'Name'], // <-- Notice we have "Name" twice (duplicate columns) ['Alice', 25, 'DuplicateColumnData'], ['Bob', 30, 'AnotherDuplicateColumnData'] ];
Whereas this will not work
let table = [
{ Name: 'Alice', Age: 25, Name: 'DuplicateColumnData' }, // <-- This is not valid JavaScript!
{ Name: 'Bob', Age: 30, Name: 'AnotherDuplicateColumnData' } // <-- This too is not valid JavaScript!
];
The use case for this is that a sheet has two heading rows and the column names are only unique within one group
The text was updated successfully, but these errors were encountered: