pub enum Action {
CellClicked(CellIndex),
ColumnReorder {
from: usize,
to: usize,
},
RowReorder {
from: usize,
to: usize,
},
}Variants§
CellClicked(CellIndex)
ColumnReorder
Generated when the user drags-and-drops one column onto another.
Handle it as follows: a) updating the column ordering information appropriately. d) updating the underlying data source, without re-ordering columns themselves. c) ignore it, e.g. if it’s unsupported, or the columns/data are locked.
See also:
RowReorder
Generated when the user drags-and-drops one row onto another.
Handle it as follows: a) updating the row ordering information appropriately. d) updating the underlying data source, without re-ordering rows themselves. c) ignore it, e.g. if it’s unsupported, or the rows/data are locked.
See also:
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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