Skip to content

Commit 406d123

Browse files
Origin/matthew collins nz/adddataeditorrowcheckboxvisible (#6082)
* Adding checkbox_visible to rowmarker for data editor * Update dataeditor.py * pre-commit --------- Co-authored-by: Masen Furer <m_github@0x26.net>
1 parent 5d1d6db commit 406d123

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
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": "fb26f3e702fcb885539d1cf82a854be3",
26+
"reflex/components/datadisplay/dataeditor.pyi": "d2a749db7e279972d4bc1f4de63a7c41",
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class DataEditor(NoSSRComponent):
240240
# Determines the height of each row.
241241
row_height: Var[int]
242242

243-
# Kind of row markers.
243+
# Kind of row markers. Options are: "none", "number", "checkbox", "both", "checkbox-visible", "clickable-number".
244244
row_markers: Var[LiteralRowMarker]
245245

246246
# Changes the starting index for row markers.

reflex/components/literals.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@
2929
]
3030

3131

32-
LiteralRowMarker = Literal["none", "number", "checkbox", "both", "clickable-number"]
32+
LiteralRowMarker = Literal[
33+
"none", "number", "checkbox", "both", "checkbox-visible", "clickable-number"
34+
]

0 commit comments

Comments
 (0)