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 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

JavaScript hooks for row selection.

Link to this function

clear_selection(socket)

Clear all selections.

Link to this function

get_selected_ids(socket)

Get selected row IDs as a list.

Link to this function

has_selection?(socket)

Check if any rows are selected.

Link to this function

init_selection(socket)

Initialize row selection state.

Link to this function

invert_selection(socket, all_row_ids)

Invert current selection.

Link to this function

is_selected?(socket, row_id)

Check if a specific row is selected.

Link to this function

row_checkbox(assigns)

Selection checkbox component for table rows.

Link to this function

select_all_rows(socket, all_row_ids)

Select all rows.

Link to this function

select_range(socket, from_id, to_id, all_row_ids)

Select rows in a range (shift-click).

Link to this function

selection_bar(assigns)

Selection indicator bar component.

Link to this function

selection_header(assigns)

Selection checkbox component for table header.

Link to this function

toggle_row_selection(socket, row_id)

Toggle selection for a single row.