ListModel
ListModel =
object
Defined in: packages/schema/src/model.ts:769
A view’s list page (.list(...)).
Properties
Section titled “Properties”columns
Section titled “columns”columns:
string[]
Defined in: packages/schema/src/model.ts:771
The table’s columns, in order.
default?
Section titled “default?”
optionaldefault?:string
Defined in: packages/schema/src/model.ts:781
The display the list opens in when the address names none; the table when omitted.
displays?
Section titled “displays?”
optionaldisplays?:ListDisplayModel[]
Defined in: packages/schema/src/model.ts:779
Other ways to show the list besides its table, in the order the switch shows them after it.
optionaldrag?:ListDragModel
Defined in: packages/schema/src/model.ts:790
What dragging changes, each off unless the list turns it on; see ListDragModel.
editable?
Section titled “editable?”
optionaleditable?:string[]
Defined in: packages/schema/src/model.ts:788
The fields among columns edited in their cell, by a user who may change the record and the field; see
Editing in the list.
filter?
Section titled “filter?”
optionalfilter?:string
Defined in: packages/schema/src/model.ts:775
An AIP-160 filter the list opens with when its address names none; the person can clear or change it, and a link’s own filter replaces it.
relatedColumns?
Section titled “relatedColumns?”
optionalrelatedColumns?:RelatedColumnModel[]
Defined in: packages/schema/src/model.ts:783
The columns of related records among columns, each named there by its name.
search?
Section titled “search?”
optionalsearch?:string[]
Defined in: packages/schema/src/model.ts:777
Defaults for the UI’s search box. ResourceModel.search is authoritative for what search(...) matches on the server.
optionalsort?:SortSpec
Defined in: packages/schema/src/model.ts:773
The order the list starts in.