BootstrapCardView Class

Declaration

export class BootstrapCardView extends BootstrapGridBase

Inheritance

BootstrapGridBase
BootstrapCardView

Properties

batchEditApi Property

Declaration

batchEditApi: BootstrapCardViewBatchEditApi | null

Property Value

Type Description

Methods

addNewCard Method

Declaration

addNewCard(): void

applyFilter Method

Declaration

applyFilter(filterExpression: string): void

Parameters

Type Name Description
filterExpression

applySearchPanelFilter Method

Declaration

applySearchPanelFilter(value: string): void

Parameters

Type Name Description
value

cancelEdit Method

Declaration

cancelEdit(): void

clearFilter Method

Declaration

clearFilter(): void

closeFilterControl Method

Declaration

closeFilterControl(): void

deleteCard Method

Declaration

deleteCard(visibleIndex: number): void

Parameters

Type Name Description
visibleIndex

deleteCardByKey Method

Declaration

deleteCardByKey(key: any): void

Parameters

Type Name Description
key

focus Method

Declaration

focus(): void

focusEditor Method

Declaration

focusEditor(column: BootstrapCardViewColumn): void

Parameters

Type Name Description
column

getCardKey Method

Declaration

getCardKey(visibleIndex: number): string

Parameters

Type Name Description
visibleIndex

Returns

Type Description

getColumn Method

Declaration

getColumn(columnIndex: number): BootstrapCardViewColumn | null

Parameters

Type Name Description
columnIndex

Returns

Type Description

getColumnByField Method

Declaration

getColumnByField(columnFieldName: string): BootstrapCardViewColumn | null

Parameters

Type Name Description
columnFieldName

Returns

Type Description

getColumnById Method

Declaration

getColumnById(columnId: string): BootstrapCardViewColumn | null

Parameters

Type Name Description
columnId

Returns

Type Description

getColumnCount Method

Declaration

getColumnCount(): number

Returns

Type Description

getEditValue Method

Declaration

getEditValue(column: BootstrapCardViewColumn): string

Parameters

Type Name Description
column

Returns

Type Description

getEditor Method

Declaration

getEditor(column: BootstrapCardViewColumn): BootstrapClientEdit

Parameters

Type Name Description
column

Returns

Type Description

getFocusedCardIndex Method

Declaration

getFocusedCardIndex(): number

Returns

Type Description

getFocusedCell Method

Declaration

getFocusedCell(): BootstrapCardViewCellInfo | null

Returns

Type Description

getPageCount Method

Declaration

getPageCount(): number

Returns

Type Description

getPageIndex Method

Declaration

getPageIndex(): number

Returns

Type Description

getPopupEditForm Method

Declaration

getPopupEditForm(): BootstrapPopupControl | null

Returns

Type Description

getSelectedCardCount Method

Declaration

getSelectedCardCount(): number

Returns

Type Description

getSelectedKeysOnPage Method

Declaration

getSelectedKeysOnPage(): array[any]

Returns

Type Description

getTopVisibleIndex Method

Declaration

getTopVisibleIndex(): number

Returns

Type Description

getVerticalScrollPosition Method

Declaration

getVerticalScrollPosition(): number

Returns

Type Description

getVisibleCardsOnPage Method

Declaration

getVisibleCardsOnPage(): number

Returns

Type Description

gotoPage Method

Declaration

gotoPage(pageIndex: number): void

Parameters

Type Name Description
pageIndex

hideCustomizationWindow Method

Declaration

hideCustomizationWindow(): void

isCardSelectedOnPage Method

Declaration

isCardSelectedOnPage(visibleIndex: number): boolean

Parameters

Type Name Description
visibleIndex

Returns

Type Description

isCustomizationWindowVisible Method

Declaration

isCustomizationWindowVisible(): boolean

Returns

Type Description

isEditing Method

Declaration

isEditing(): boolean

Returns

Type Description

isNewCardEditing Method

Declaration

isNewCardEditing(): boolean

Returns

Type Description

moveColumn Method

Declaration

moveColumn(column: BootstrapCardViewColumn): void

Parameters

Type Name Description
column

nextPage Method

Declaration

nextPage(): void

off Method

Declaration

off(eventName?: K, callback?: (this: BootstrapCardView, args?: BootstrapCardViewEventMap[K]) => void): this

Parameters

Type Name Description
eventName
callback

Returns

Type Description

on Method

Declaration

on(eventName: K, callback: (this: BootstrapCardView, args?: BootstrapCardViewEventMap[K]) => void): this

Parameters

Type Name Description
eventName
callback

Returns

Type Description

once Method

Declaration

once(eventName: K, callback: (this: BootstrapCardView, args?: BootstrapCardViewEventMap[K]) => void): this

Parameters

Type Name Description
eventName
callback

Returns

Type Description

performCallback Method

Declaration

performCallback(data: any): Promise<void>

Parameters

Type Name Description
data

Returns

Type Description

prevPage Method

Declaration

prevPage(): void

refresh Method

Declaration

refresh(): void

selectAllCardsOnPage Method

Declaration

selectAllCardsOnPage(): void

selectCardOnPage Method

Declaration

selectCardOnPage(visibleIndex: number): void

Parameters

Type Name Description
visibleIndex

selectCards Method

Declaration

selectCards(): void

selectCardsByKey Method

Declaration

selectCardsByKey(keys: array[any]): void

Parameters

Type Name Description
keys

setEditValue Method

Declaration

setEditValue(column: BootstrapCardViewColumn, value: string): void

Parameters

Type Name Description
column
value

setFilterEnabled Method

Declaration

setFilterEnabled(isFilterEnabled: boolean): void

Parameters

Type Name Description
isFilterEnabled

setFocusedCardIndex Method

Declaration

setFocusedCardIndex(visibleIndex: number): void

Parameters

Type Name Description
visibleIndex

setFocusedCell Method

Declaration

setFocusedCell(cardVisibleIndex: number, columnIndex: number): void

Parameters

Type Name Description
cardVisibleIndex
columnIndex

setSearchPanelCustomEditor Method

Declaration

setSearchPanelCustomEditor(editor: BootstrapClientEdit): void

Parameters

Type Name Description
editor

setVerticalScrollPosition Method

Declaration

setVerticalScrollPosition(position: number): void

Parameters

Type Name Description
position

showCustomizationWindow Method

Declaration

showCustomizationWindow(): void

showFilterControl Method

Declaration

showFilterControl(): void

sortBy Method

Declaration

sortBy(column: BootstrapCardViewColumn): void

Parameters

Type Name Description
column

startEditCard Method

Declaration

startEditCard(visibleIndex: number): void

Parameters

Type Name Description
visibleIndex

startEditCardByKey Method

Declaration

startEditCardByKey(key: any): void

Parameters

Type Name Description
key

unselectAllCardsOnPage Method

Declaration

unselectAllCardsOnPage(): void

unselectCardOnPage Method

Declaration

unselectCardOnPage(visibleIndex: number): void

Parameters

Type Name Description
visibleIndex

unselectCards Method

Declaration

unselectCards(): void

unselectCardsByKey Method

Declaration

unselectCardsByKey(keys: array[any]): void

Parameters

Type Name Description
keys

unselectFilteredCards Method

Declaration

unselectFilteredCards(): void

updateEdit Method

Declaration

updateEdit(): void