The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapCardView Class

Declaration

export class BootstrapCardView extends BootstrapGridBase

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Inheritance

BootstrapGridBase
BootstrapCardView

Properties

batchEditApi Property

Declaration

batchEditApi: BootstrapCardViewBatchEditApi | null

Property Value

Type Description
BootstrapCardViewBatchEditApi
null

Methods

addNewCard Method

Declaration

addNewCard(): void

applyFilter Method

Declaration

applyFilter(filterExpression: string): void

Parameters

Name Type Description
filterExpression

applySearchPanelFilter Method

Declaration

applySearchPanelFilter(value: string): void

Parameters

Name Type 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

Name Type Description
visibleIndex

deleteCardByKey Method

Declaration

deleteCardByKey(key: any): void

Parameters

Name Type Description
key

focus Method

Declaration

focus(): void

focusEditor Method

Declaration

focusEditor(column: BootstrapCardViewColumn): void

Parameters

Name Type Description
column

getCardKey Method

Declaration

getCardKey(visibleIndex: number): string

Parameters

Name Type Description
visibleIndex

Returns

Type Description
string

getColumn Method

Declaration

getColumn(columnIndex: number): BootstrapCardViewColumn | null

Parameters

Name Type Description
columnIndex

Returns

Type Description
BootstrapCardViewColumn
null

getColumnByField Method

Declaration

getColumnByField(columnFieldName: string): BootstrapCardViewColumn | null

Parameters

Name Type Description
columnFieldName

Returns

Type Description
BootstrapCardViewColumn
null

getColumnById Method

Declaration

getColumnById(columnId: string): BootstrapCardViewColumn | null

Parameters

Name Type Description
columnId

Returns

Type Description
BootstrapCardViewColumn
null

getColumnCount Method

Declaration

getColumnCount(): number

Returns

Type Description
number

getEditValue Method

Declaration

getEditValue(column: BootstrapCardViewColumn): string

Parameters

Name Type Description
column

Returns

Type Description
string

getEditor Method

Declaration

getEditor(column: BootstrapCardViewColumn): BootstrapClientEdit

Parameters

Name Type Description
column

Returns

Type Description
BootstrapClientEdit

getFocusedCardIndex Method

Declaration

getFocusedCardIndex(): number

Returns

Type Description
number

getFocusedCell Method

Declaration

getFocusedCell(): BootstrapCardViewCellInfo | null

Returns

Type Description
BootstrapCardViewCellInfo
null

getPageCount Method

Declaration

getPageCount(): number

Returns

Type Description
number

getPageIndex Method

Declaration

getPageIndex(): number

Returns

Type Description
number

getPopupEditForm Method

Declaration

getPopupEditForm(): BootstrapPopupControl | null

Returns

Type Description
BootstrapPopupControl
null

getSelectedCardCount Method

Declaration

getSelectedCardCount(): number

Returns

Type Description
number

getSelectedKeysOnPage Method

Declaration

getSelectedKeysOnPage(): array[any]

Returns

Type Description
array[any]

getTopVisibleIndex Method

Declaration

getTopVisibleIndex(): number

Returns

Type Description
number

getVerticalScrollPosition Method

Declaration

getVerticalScrollPosition(): number

Returns

Type Description
number

getVisibleCardsOnPage Method

Declaration

getVisibleCardsOnPage(): number

Returns

Type Description
number

gotoPage Method

Declaration

gotoPage(pageIndex: number): void

Parameters

Name Type Description
pageIndex

hideCustomizationWindow Method

Declaration

hideCustomizationWindow(): void

isCardSelectedOnPage Method

Declaration

isCardSelectedOnPage(visibleIndex: number): boolean

Parameters

Name Type Description
visibleIndex

Returns

Type Description
boolean

isCustomizationWindowVisible Method

Declaration

isCustomizationWindowVisible(): boolean

Returns

Type Description
boolean

isEditing Method

Declaration

isEditing(): boolean

Returns

Type Description
boolean

isNewCardEditing Method

Declaration

isNewCardEditing(): boolean

Returns

Type Description
boolean

moveColumn Method

Declaration

moveColumn(column: BootstrapCardViewColumn): void

Parameters

Name Type Description
column

nextPage Method

Declaration

nextPage(): void

off Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

on Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

performCallback Method

Declaration

performCallback(data: any): Promise<void>

Parameters

Name Type Description
data

Returns

Type Description
Promise<void>

prevPage Method

Declaration

prevPage(): void

refresh Method

Declaration

refresh(): void

selectAllCardsOnPage Method

Declaration

selectAllCardsOnPage(): void

selectCardOnPage Method

Declaration

selectCardOnPage(visibleIndex: number): void

Parameters

Name Type Description
visibleIndex

selectCards Method

Declaration

selectCards(): void

selectCardsByKey Method

Declaration

selectCardsByKey(keys: array[any]): void

Parameters

Name Type Description
keys

setEditValue Method

Declaration

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

Parameters

Name Type Description
column
value

setFilterEnabled Method

Declaration

setFilterEnabled(isFilterEnabled: boolean): void

Parameters

Name Type Description
isFilterEnabled

setFocusedCardIndex Method

Declaration

setFocusedCardIndex(visibleIndex: number): void

Parameters

Name Type Description
visibleIndex

setFocusedCell Method

Declaration

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

Parameters

Name Type Description
cardVisibleIndex
columnIndex

setSearchPanelCustomEditor Method

Declaration

setSearchPanelCustomEditor(editor: BootstrapClientEdit): void

Parameters

Name Type Description
editor

setVerticalScrollPosition Method

Declaration

setVerticalScrollPosition(position: number): void

Parameters

Name Type Description
position

showCustomizationWindow Method

Declaration

showCustomizationWindow(): void

showFilterControl Method

Declaration

showFilterControl(): void

sortBy Method

Declaration

sortBy(column: BootstrapCardViewColumn): void

Parameters

Name Type Description
column

startEditCard Method

Declaration

startEditCard(visibleIndex: number): void

Parameters

Name Type Description
visibleIndex

startEditCardByKey Method

Declaration

startEditCardByKey(key: any): void

Parameters

Name Type Description
key

unselectAllCardsOnPage Method

Declaration

unselectAllCardsOnPage(): void

unselectCardOnPage Method

Declaration

unselectCardOnPage(visibleIndex: number): void

Parameters

Name Type Description
visibleIndex

unselectCards Method

Declaration

unselectCards(): void

unselectCardsByKey Method

Declaration

unselectCardsByKey(keys: array[any]): void

Parameters

Name Type Description
keys

unselectFilteredCards Method

Declaration

unselectFilteredCards(): void

updateEdit Method

Declaration

updateEdit(): void