Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Interface: SortableListProps

The SortableList component properties.

Properties​

children?​

optional children?: ReactNode

The React child node. In the viewer this is the cloned row trees.


className?​

optional className?: string

The list item container class name.


disabled?​

optional disabled?: boolean

If true, row reordering is disabled.


itemRenderWhen?​

optional itemRenderWhen?: string

The expression or function to conditionally render a list item.


readOnly?​

optional readOnly?: boolean

If true, row reordering is disabled.


reorderHandleAriaLabel?​

optional reorderHandleAriaLabel?: string

The accessible name for the row drag handle.


value​

value: Record<string, unknown>[]

The list value. Each object is the data of one row.


wrapperClassName?​

optional wrapperClassName?: string

The list container class name.