v7.0.0-beta.20

This commit is contained in:
Tanner Linsley
2019-12-02 01:28:28 -07:00
parent dac4744727
commit 127a7fca87
27 changed files with 905 additions and 664 deletions
+3 -3
View File
@@ -236,9 +236,9 @@ function App() {
// Update data. So we can keep track of that flag with a ref.
// When our cell renderer calls updateMyData, we'll use
// the rowIndex, columnID and new value to update the
// the rowIndex, columnId and new value to update the
// original data
const updateMyData = (rowIndex, columnID, value) => {
const updateMyData = (rowIndex, columnId, value) => {
// We also turn on the flag to not reset the page
setSkipPageReset(true)
setData(old =>
@@ -246,7 +246,7 @@ function App() {
if (index === rowIndex) {
return {
...old[rowIndex],
[columnID]: value,
[columnId]: value,
}
}
return row