We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mode
selection_mode
editable
None
mode=
selection_mode=
editable=
.input_selected_rows()
.input_cell_selection()
.update_cell_selection()
@render.data_frame
.cell_patches()
list[{row_index: int, col_index: int, value: str}]
.data()
pd.DataFrame
.data_patched()
.selection_modes()
selection_modes=
{type: "row" | "col" | "region" | "cell" | "none", rows: tuple[int, ...] | tuple[int, int] | tuple[int], cols: tuple[int, ...] | tuple[int, int] | tuple[int]}
"all" | "none" | {rows: int | tuple[int, int], cols: int | tuple[int, int]}
.data_selected()
.set_patch_fn()
.set_patches_fn()
.input_current_cell()
.update_current_cell()
mydf.input_cell_selection()
mydf.update_cell_selection()
.data_*()
.data_gen(*, selected=False, filtered=False, edited=False, ....)
Editable tables
Styling
styles=
Styles
Styles = list[StyleInfo]
StyleInfo = {loc: "body", rows: int | List[int], columns: int | str | List[int | str], style: str? | dict[str, Jsonifiable]? | None, class_: str | None, }
Callable[[data], Styles]
Styles.rows: List[bool]
render.table
Other
The text was updated successfully, but these errors were encountered:
render.data_frame()
Closing in favor of #1639
Sorry, something went wrong.
No branches or pull requests
From #1198
Followup to #1198
mode
intoselection_mode
andeditable
; Throw error whenselection_mode
!=None
andeditable
== True; Add structure types for selection_mode. (api(render.data_frame): Separatemode=
intoselection_mode=
andeditable=
#1248)QA
Features
Add selected_rows method (Add class-based rows selected method #1120)Make work in modulesRevisit input name.input_selected_rows()
?Fix documentation of types for return value (None
vs empty tuple).input_cell_selection()
,.update_cell_selection()
; (api(render.data_frame): Separatemode=
intoselection_mode=
andeditable=
#1248)@render.data_frame
.cell_patches()
: Returnslist[{row_index: int, col_index: int, value: str}]
(feat: Editable data frame #1198).data()
: Currently returnspd.DataFrame
(feat: Editable data frame #1198).data_patched()
: Returns.data()
with any manual edits (feat: Editable data frame #1198).selection_modes()
: Returns value'sselection_modes=
(feat: Editable data frame #1198).input_cell_selection()
: Takes some form of{type: "row" | "col" | "region" | "cell" | "none", rows: tuple[int, ...] | tuple[int, int] | tuple[int], cols: tuple[int, ...] | tuple[int, int] | tuple[int]}
(api(render.data_frame): Separatemode=
intoselection_mode=
andeditable=
#1248).update_cell_selection()
; Takes same value as.input_cell_selection()
or some form of"all" | "none" | {rows: int | tuple[int, int], cols: int | tuple[int, int]}
(api(render.data_frame): Separatemode=
intoselection_mode=
andeditable=
#1248).data_selected()
; Returns.data_patched()
subsetted to.input_cell_selection()
(feat: Editable data frame #1198).set_patch_fn()
;.set_patches_fn()
; Decorators to set method to handle cell edits (patches) (feat: Editable data frame #1198).input_current_cell()
;.update_current_cell()
; Methods to set currently selected cellmydf.input_cell_selection()
; Returns list of type,rows,columns information; (api(render.data_frame): Separatemode=
intoselection_mode=
andeditable=
#1248)mydf.update_cell_selection()
; (api(render.data_frame): Separatemode=
intoselection_mode=
andeditable=
#1248)mode=
intoselection_mode=
andeditable=
#1248)mode=
intoselection_mode=
andeditable=
#1248).data_*()
methods..data_gen(*, selected=False, filtered=False, edited=False, ....)
method that returns a reactive value generator?Editable tables
.set_patch_fn()
;.set_patches_fn()
Styling
styles=
takesStyles
Styles = list[StyleInfo]
StyleInfo = {loc: "body", rows: int | List[int], columns: int | str | List[int | str], style: str? | dict[str, Jsonifiable]? | None, class_: str | None, }
styles=
takesCallable[[data], Styles]
Styles.rows: List[bool]
?render.table
Other
The text was updated successfully, but these errors were encountered: