TableItemScope

Scope available for a rendered table item.

Provides item-level interaction helpers that can be reused by more specific scopes, such as TableCellScope.

Inheritors

Functions

Link copied to clipboard
abstract fun applyDraggableHandle(modifier: Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}, dragGestureDetector: DragGestureDetector = DragGestureDetector.Press): Modifier

Returns a Modifier that makes the given UI element a drag handle for the current table item.

Link copied to clipboard
abstract fun applyLongPressDraggableHandle(modifier: Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}): Modifier

Returns a Modifier that makes the given UI element a long-press drag handle for the current table item.