SelectoComponents.EnhancedTable.RowSelection (selecto_components v0.3.10)
Row selection management for tables with support for bulk operations.
Link to this section Summary
Functions
JavaScript hooks for row selection.
Clear all selections.
Get selected row IDs as a list.
Check if any rows are selected.
Initialize row selection state.
Invert current selection.
Check if a specific row is selected.
Selection checkbox component for table rows.
Select all rows.
Select rows in a range (shift-click).
Selection indicator bar component.
Selection checkbox component for table header.
Toggle selection for a single row.
Link to this section Functions
__hooks__()
JavaScript hooks for row selection.
clear_selection(socket)
Clear all selections.
get_selected_ids(socket)
Get selected row IDs as a list.
has_selection?(socket)
Check if any rows are selected.
init_selection(socket)
Initialize row selection state.
invert_selection(socket, all_row_ids)
Invert current selection.
is_selected?(socket, row_id)
Check if a specific row is selected.
row_checkbox(assigns)
Selection checkbox component for table rows.
select_all_rows(socket, all_row_ids)
Select all rows.
select_range(socket, from_id, to_id, all_row_ids)
Select rows in a range (shift-click).
selection_bar(assigns)
Selection indicator bar component.
selection_header(assigns)
Selection checkbox component for table header.
toggle_row_selection(socket, row_id)
Toggle selection for a single row.