Skip to content

Commit

Permalink
fix: 🐛 replace the deprecaed rows methods
Browse files Browse the repository at this point in the history
replace rows update methods `updateRowData` and `batchUpdateRowData`
with their new equivalent
  • Loading branch information
hyyan committed Jun 2, 2020
1 parent 5fb4619 commit 034f21c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions client/dist/bbj-grid-widget.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/bbj-grid-widget.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client/dist/report.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client/src/api/rows.js
Expand Up @@ -140,9 +140,9 @@ export function gw_updateRowData(id, transaction, batchUpdate) {
}

if (!batchUpdate) {
options.api.updateRowData(transaction)
options.api.applyTransaction(transaction)
} else {
options.api.batchUpdateRowData(transaction)
options.api.applyTransactionAsync(transaction)
}
}

Expand Down

0 comments on commit 034f21c

Please sign in to comment.