DragAndDropMixin

external interface DragAndDropMixin

Inheritors

Properties

Link copied to clipboard

A function that filters dragging of specific grid rows. The return value should be false if dragging of the row should be disabled.

Link copied to clipboard

A function that filters dropping on specific grid rows. The return value should be false if dropping on the row should be disabled.

Link copied to clipboard
abstract var dropMode: String

Defines the locations within the Grid row where an element can be dropped.

Link copied to clipboard
abstract var rowsDraggable: Boolean

Marks the grid's rows to be available for dragging.

Functions

Link copied to clipboard
abstract fun filterDragAndDrop()

Runs the dragFilter and dropFilter hooks for the visible cells. If the filter depends on varying conditions, you may need to call this function manually in order to update the draggability when the conditions change.