Skip to content

Commit

Permalink
Add selection sync to group-checkbox-select example. TODO: allow sele…
Browse files Browse the repository at this point in the history
…ction and deselection while hidden
  • Loading branch information
6pac committed Nov 6, 2017
1 parent 5ec0f7f commit 836aa7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/example-grouping-checkbox-row-select.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,13 @@ <h2>View Source:</h2>
dataView.onRowCountChanged.subscribe(function (e, args) {
grid.updateRowCount();
grid.render();
dataView.syncGridSelection(grid, true, true);
});

dataView.onRowsChanged.subscribe(function (e, args) {
grid.invalidateRows(args.rows);
grid.render();
dataView.syncGridSelection(grid, true, true);
});


Expand Down

0 comments on commit 836aa7e

Please sign in to comment.