Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Cannot add property xxxxxx, object is not extensible #496

Open
anandrikka opened this issue Jun 18, 2017 · 0 comments
Open

Cannot add property xxxxxx, object is not extensible #496

anandrikka opened this issue Jun 18, 2017 · 0 comments

Comments

@anandrikka
Copy link

I'm using fixed-data-table to render 1000 rows. I have a checkbox when clicked should show input boxes to edit the row.

checkboxSelect = (index, checkFlag) => {
  const {users} = this.state
  users[index]['selected'] = checkFlag // Getting Error Here
  this.setState({
    users,
  })
}

please help not sure what is the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant