Extensions

Press shift + S to search API reference.

React component

RecordCardList

View source

Props

interface RecordCardListProps
attachmentCoverFieldField

Attachment field to display as an image in the square preview for each record card. If omitted or not an attachment field, it uses for the first attachment field in fields. If fields is not defined, it uses the first attachment field in the view.

classNameundefined | string

Additional class names to apply to the record card list.

fieldsArray<Field>

Fields to display in each record card. The primary field is always displayed.

onRecordClicknull | function (record: Record | RecordDef, index: number) => void

Click event handler for an individual record card. If undefined, uses default behavior to expand record. If null, no operation is performed.

onRecordMouseEnterundefined | function (record: Record | RecordDef, index: number) => void

Mouse enter event handler for an individual record card.

onRecordMouseLeaveundefined | function (record: Record | RecordDef, index: number) => void

Mouse leave event handler for an individual record card.

onScrollundefined | function (scrollEvent: RecordCardListScrollEvent) => void

Scroll event handler for the list window.

recordsArray<Record> | Array<RecordDef>

Records to display in card list.

styleReact.CSSProperties

Additional styles to apply to the record card list.

viewView

The view model to use for field order and record coloring.