We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi const columns = [ { displayName: 'First', id: '1' }, { displayName: 'Second', id: '1' }, { displayName: 'Third', id: '3' } ]
If the information arrives [Third, Second, First] (axios), it is displayed in this way. Expected result: [First, Second, Third]
The header should order the order of the columns in the csv file
The text was updated successfully, but these errors were encountered:
Currently changing order for simple arrays does not work. You would need to return rows as {'3': 'Third', '2': 'Second', '1': 'First'}
{'3': 'Third', '2': 'Second', '1': 'First'}
Sorry, something went wrong.
Now works with:
const columns = [ { displayName: 'FirstC', id: '2' }, { displayName: 'SecondC', id: '1' }, { displayName: 'ThirdC', id: '0' }, ] const dataSet = [['ThirdD', 'SecondD', 'FirstD']]
Outputs:
FirstC,SecondC,ThirdC FirstD,SecondD,ThirdD
Successfully merging a pull request may close this issue.
Hi
const columns = [
{ displayName: 'First', id: '1' },
{ displayName: 'Second', id: '1' },
{ displayName: 'Third', id: '3' }
]
If the information arrives [Third, Second, First] (axios), it is displayed in this way.
Expected result:
[First, Second, Third]
The header should order the order of the columns in the csv file
The text was updated successfully, but these errors were encountered: