dara-components 1.20.0a1__py3-none-any.whl → 1.20.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -836,6 +836,7 @@ class Table(ContentComponent):
836
836
  :param multi_select: Whether to allow selection of multiple rows, works with onclick_row and defaults to False
837
837
  :param show_checkboxes: Whether to show or hide checkboxes column when onclick_row is set. Defaults to True
838
838
  :param onclick_row: An action handler for when a row is clicked on the table
839
+ :param onselect_row: An action handler for when a row is selected via the checkbox column
839
840
  :param selected_indices: Optional variable to store the selected rows indices, must be a list of numbers. Note that these indices are
840
841
  the sequential indices of the rows as accepted by `DataFrame.iloc`, not the `row.index` value. If you would like the selection to persist over
841
842
  page reloads, you must use a `BrowserStore` on a `Variable`.
@@ -843,6 +844,7 @@ class Table(ContentComponent):
843
844
  :param searchable: Boolean, if True table can be searched via Input and will only render matching rows
844
845
  :param include_index: Boolean, if True the table will render the index column(s), defaults to True
845
846
  :param max_rows: if specified, table height will be fixed to accommodate the specified number of rows
847
+ :param suppress_click_events_for_selection: Whether to suppress click events for clicks in select boxes. Defaults to False
846
848
  """
847
849
 
848
850
  model_config = ConfigDict(ser_json_timedelta='float', use_enum_values=True, arbitrary_types_allowed=True)
@@ -852,11 +854,13 @@ class Table(ContentComponent):
852
854
  multi_select: bool = False
853
855
  show_checkboxes: bool = True
854
856
  onclick_row: Optional[Action] = None
857
+ onselect_row: Optional[Action] = None
855
858
  selected_indices: Optional[Union[List[int], Variable]] = None
856
859
  search_columns: Optional[List[str]] = None
857
860
  searchable: bool = False
858
861
  include_index: bool = True
859
862
  max_rows: Optional[int] = None
863
+ suppress_click_events_for_selection: Optional[bool] = False
860
864
 
861
865
  TableFormatterType = TableFormatterType
862
866
  TableFilter = TableFilter