pub struct DataTableResponse {
pub response: Response,
pub selected_rows: Vec<bool>,
pub header_checkbox: bool,
pub column_clicked: Option<usize>,
pub sort_state: (Option<usize>, SortDirection),
pub row_actions: Vec<RowAction>,
}Expand description
Response returned by the data table widget.
Contains both the standard egui Response and additional table-specific information about user interactions.
Fields§
§response: ResponseThe standard egui widget response
selected_rows: Vec<bool>Current selection state for each row
header_checkbox: boolCurrent state of the header checkbox
column_clicked: Option<usize>Index of column that was clicked for sorting (if any)
sort_state: (Option<usize>, SortDirection)Current sort state (column index, direction)
row_actions: Vec<RowAction>List of row actions performed (edit, delete, save)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataTableResponse
impl !RefUnwindSafe for DataTableResponse
impl Send for DataTableResponse
impl Sync for DataTableResponse
impl Unpin for DataTableResponse
impl UnsafeUnpin for DataTableResponse
impl !UnwindSafe for DataTableResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more