Skip to content

Commit 836aa7e

Browse files
committed
Add selection sync to group-checkbox-select example. TODO: allow selection and deselection while hidden
1 parent 5ec0f7f commit 836aa7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/example-grouping-checkbox-row-select.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,13 @@ <h2>View Source:</h2>
350350
dataView.onRowCountChanged.subscribe(function (e, args) {
351351
grid.updateRowCount();
352352
grid.render();
353+
dataView.syncGridSelection(grid, true, true);
353354
});
354355

355356
dataView.onRowsChanged.subscribe(function (e, args) {
356357
grid.invalidateRows(args.rows);
357358
grid.render();
359+
dataView.syncGridSelection(grid, true, true);
358360
});
359361

360362

0 commit comments

Comments
 (0)