TableCellScope

Scope available inside table body cell content.

Extends TableItemScope with a cell-specific receiver used by the cell { ... } DSL, so cell content can access item-level helpers in a more natural way.

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.