change that

This commit is contained in:
Khaleel Al-Adhami 2024-10-21 18:14:57 -07:00
parent e9f545fa8c
commit b011d2f3c7
2 changed files with 2 additions and 2 deletions

View File

@ -344,7 +344,7 @@ class DataEditor(NoSSRComponent):
on_selection_cleared: EventHandler[empty_event] on_selection_cleared: EventHandler[empty_event]
# Fired when a column is resized. # Fired when a column is resized.
on_column_resize: EventHandler[identity_event(GridColumn, int, int)] on_column_resize: EventHandler[identity_event(GridColumn, int)]
def add_imports(self) -> ImportDict: def add_imports(self) -> ImportDict:
"""Add imports for the component. """Add imports for the component.

View File

@ -191,7 +191,7 @@ class DataEditor(NoSSRComponent):
on_cell_context_menu: Optional[EventType[tuple[int, int]]] = None, on_cell_context_menu: Optional[EventType[tuple[int, int]]] = None,
on_cell_edited: Optional[EventType] = None, on_cell_edited: Optional[EventType] = None,
on_click: Optional[EventType[[]]] = None, on_click: Optional[EventType[[]]] = None,
on_column_resize: Optional[EventType[GridColumn, int, int]] = None, on_column_resize: Optional[EventType[GridColumn, int]] = None,
on_context_menu: Optional[EventType[[]]] = None, on_context_menu: Optional[EventType[[]]] = None,
on_delete: Optional[EventType[GridSelection]] = None, on_delete: Optional[EventType[GridSelection]] = None,
on_double_click: Optional[EventType[[]]] = None, on_double_click: Optional[EventType[[]]] = None,