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
Let's say there is a state like this
this.state = { data: [ [{ value: 1 }, { value: 2 }, { value: 3 }, { value: 4 }], [{ value: 1 }, { value: 2 }, { value: 3 }, { value: 4 }] ], columnLabels: [1,2,3,4], }
Then I want to update the state like this:
this.setState(({columnLabels}) => { columnLabels[0] = 'random value' return {columnLabels} })
The column values do not rerender
The text was updated successfully, but these errors were encountered:
How are columnLabels passed to `?
columnLabels
Sorry, something went wrong.
I mean you could have guessed.
Like this https://github.com/iddan/react-spreadsheet/blob/master/stories/withColumnLabels.js
iddan
No branches or pull requests
Let's say there is a state like this
Then I want to update the state like this:
The column values do not rerender
The text was updated successfully, but these errors were encountered: