Row Dragging
Enable Dash-native row reordering and inspect the emitted drag payload.
Row Dragging
Enable Dash-native row reordering and inspect the emitted drag payload.
Source: usage.py::build_row_dragging_code().

table = (
dmdt.DataTable(
id="row-dragging-table",
data=EMPLOYEES[:6],
columns=ROW_DRAGGING_COLUMNS,
paginationMode="none",
)
.update_layout(
radius="lg",
withTableBorder=True,
height=280,
)
.update_rows(
draggable=True,
)
)