Skip to content

ListDragModel

ListDragModel = object

Defined in: packages/schema/src/model.ts:797

What a user may change by dragging in a list, each for a user who may update the field it writes. See Dragging in the list.

optional board?: boolean | string | BoardDragModel

Defined in: packages/schema/src/model.ts:809

Moving a board’s card to another column: true saves its record with that column’s value; a BoardDragModel saves that value in another field, or lets only some columns take a card; the name of a board drop in the UI config’s boardDrops lets cards move only between the columns it names, each drop running its write. The last two work when the board’s field is read-only, such as one the database computes.


optional rank?: boolean

Defined in: packages/schema/src/model.ts:802

Re-ranking: in the resource’s .position() order, without a parent’s within, the table’s rows and a board’s cards move by dragging them, at any time, rather than after Reorder.


optional rule?: string

Defined in: packages/schema/src/model.ts:814

Where the table’s rows may land when re-ranked: the name of a drop rule in the UI config’s dropRules. A drop where it refuses lands in the first place below that it allows, with a warning saying why.