Skip to content

Commit 8e3fc08

Browse files
adding row selection mode (#6090)
* adding row selection mode * Update pyi hashes --------- Co-authored-by: Masen Furer <m_github@0x26.net>
1 parent 7d726e9 commit 8e3fc08

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyi_hashes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"reflex/components/core/window_events.pyi": "af33ccec866b9540ee7fbec6dbfbd151",
2424
"reflex/components/datadisplay/__init__.pyi": "52755871369acbfd3a96b46b9a11d32e",
2525
"reflex/components/datadisplay/code.pyi": "b86769987ef4d1cbdddb461be88539fd",
26-
"reflex/components/datadisplay/dataeditor.pyi": "d2a749db7e279972d4bc1f4de63a7c41",
26+
"reflex/components/datadisplay/dataeditor.pyi": "dc4327bd23addced344d9850a959aa21",
2727
"reflex/components/datadisplay/shiki_code_block.pyi": "1d53e75b6be0d3385a342e7b3011babd",
2828
"reflex/components/el/__init__.pyi": "0adfd001a926a2a40aee94f6fa725ecc",
2929
"reflex/components/el/element.pyi": "c5974a92fbc310e42d0f6cfdd13472f4",

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)