CardView API Reference

Properties

Name Type Default Value
addNewButton boolean false
allowDrag boolean false
animation string 'advanced'
cardHeight number | null null
cellOrientation string 'vertical'
collapsible boolean false
columns object
coverField string ''''
coverMode string 'crop'
dataSource object null
editable boolean false
headerPosition string 'none'
messages object Please expand entry to see value
onRecordInserted function | null null
onRecordRemoved function | null null
scrolling string 'physical'
titleField string ''

Events

Name Type
filter Event
sort Event
open Event
opening Event
close Event
closing Event
dragStart Event
dragging Event
dragEnd Event

Methods

Name Type Return Type
addFilter(filters: string[], operator?: string): void Method void
addRecord(recordId?: number | string, data: object, position?: string): void Method void
addSort(dataFields: [] | string, orderBy: [] | string): void Method void
beginEdit(recordId: number | string): void Method void
cancelEdit(): void Method void
closePanel(): void Method void
endEdit(): void Method void
ensureVisible(recordId: number | string): void Method void
openCustomizePanel(): void Method void
openFilterPanel(): void Method void
openSortPanel(): void Method void
removeFilter(): void Method void
removeRecord(recordId: number | string): void Method void
removeSort(): void Method void
showColumn(dataField: string): void Method void