Skip to content

Commit d4e372c

Browse files
adding row selection mode
1 parent 2545378 commit d4e372c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

reflex/components/datadisplay/dataeditor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ class DataEditor(NoSSRComponent):
291291
# Controls which types of row selections can exist at the same time. ("exclusive", "mixed").
292292
row_selection_blending: Var[Literal["exclusive", "mixed"]]
293293

294+
# Controls row marker selection behavior. "auto" adapts to touch/mouse, "multi" acts as if Ctrl is pressed. ("auto", "multi").
295+
row_selection_mode: Var[Literal["auto", "multi"]]
296+
294297
# Controls how spans are handled in selections. ("default", "allowPartial").
295298
span_range_behavior: Var[Literal["default", "allowPartial"]]
296299

0 commit comments

Comments
 (0)