Skip to content

Commit 6a01574

Browse files
authored
fix selection sync on client mode update (#1126)
fixes #1125
1 parent 578f7cd commit 6a01574

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- Fixed a bug in `renderDT()`'s evaluation of `...` arguments when `quoted = TRUE` (#1130).
66

7+
- Maintain selected columns/rows/cells upon re-render (thanks, @epruesse, #1125).
8+
79
# CHANGES IN DT VERSION 0.32
810

911
- Fixed a bug that caused the column used for grouping with the RowGroup extension to change when relocated by the ColReorder extension (thanks, @isthisthat, @mikmart, #1109).

inst/htmlwidgets/datatables.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,9 @@ HTMLWidgets.widget({
10321032
updateColsSelected();
10331033
updateCellsSelected();
10341034
})
1035+
updateRowsSelected();
1036+
updateColsSelected();
1037+
updateCellsSelected();
10351038
}
10361039

10371040
var selMode = data.selection.mode, selTarget = data.selection.target;

0 commit comments

Comments
 (0)