Skip to content

Commit f423728

Browse files
authored
docs: Update outdated deprecation warning and changelog (#1319)
1 parent 2fd6d8e commit f423728

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Breaking Changes
1111

12-
* `@render.data_frame` return values of `DataTable` and `DataGrid` had their parameter of `row_selection: Literal["single", "multiple"]` become deprecated. Please use `mode="row_single"` or `mode="row_multiple"` instead. (#1198)
12+
* `@render.data_frame` return values of `DataTable` and `DataGrid` had their parameter of `row_selection: Literal["single", "multiple"]` become deprecated. Please use `selection_mode="row"` or `selection_mode="rows"` instead. (#1198)
1313

1414
* The `col_widths` argument of `ui.layout_columns()` now sets the `sm` breakpoint by default, rather than the `md` breakpoint. For example, `col_widths=(12, 6, 6)` is now equivalent to `{"sm": (12, 6, 6)}` rather than `{"md": (12, 6, 6)}`. (#1222)
1515

shiny/render/_data_frame_utils/_datagridtable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class DataGrid(AbstractTabularData):
116116
* If `"none"` is supplied, all other values will be ignored.
117117
* If both `"row"` and `"rows"` are supplied, `"row"` will be dropped (supporting `"rows"`).
118118
row_selection_mode
119-
Deprecated. Please use `mode={row_selection_mode}_row` instead.
119+
Deprecated. Please use `selection_mode=` instead.
120120
121121
Returns
122122
-------

0 commit comments

Comments
 (0)