BootstrapCardView Class
Declaration
class BootstrapCardView extends BootstrapGridBase
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.
Properties
batchEditApi Property
Declaration
readonly batchEditApi: BootstrapCardViewBatchEditApi | null
Property Value
Methods
addNewCard Method
Declaration
addNewCard(): void
applyFilter(filterExpression) Method
Declaration
applyFilter(
filterExpression: string
): void
Parameters
Name |
Type |
filterExpression |
string |
applySearchPanelFilter(value) Method
Declaration
applySearchPanelFilter(
value: string
): void
Parameters
cancelEdit Method
Declaration
cancelEdit(): void
clearFilter Method
Declaration
clearFilter(): void
closeFilterControl Method
Declaration
closeFilterControl(): void
deleteCard(visibleIndex) Method
Declaration
deleteCard(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
deleteCardByKey(key) Method
Declaration
deleteCardByKey(
key: any
): void
Parameters
focus Method
Declaration
focus(): void
focusEditor(column) Method
Declaration
focusEditor(
column: BootstrapCardViewColumn
): void
Parameters
focusEditor(columnFieldNameOrId) Method
Declaration
focusEditor(
columnFieldNameOrId: string
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
focusEditor(columnIndex) Method
Declaration
focusEditor(
columnIndex: number
): void
Parameters
Name |
Type |
columnIndex |
number |
getCardKey(visibleIndex) Method
Declaration
getCardKey(
visibleIndex: number
): string
Parameters
Name |
Type |
visibleIndex |
number |
Returns
getColumn(columnIndex) Method
Declaration
getColumn(
columnIndex: number
): BootstrapCardViewColumn | null
Parameters
Name |
Type |
columnIndex |
number |
Returns
getColumnByField(columnFieldName) Method
Declaration
getColumnByField(
columnFieldName: string
): BootstrapCardViewColumn | null
Parameters
Name |
Type |
columnFieldName |
string |
Returns
getColumnById(columnId) Method
Declaration
getColumnById(
columnId: string
): BootstrapCardViewColumn | null
Parameters
Name |
Type |
columnId |
string |
Returns
getColumnCount Method
Declaration
getColumnCount(): number
Returns
getEditor(column) Method
Declaration
getEditor(
column: BootstrapCardViewColumn
): BootstrapClientEdit
Parameters
Returns
getEditor(columnFieldNameOrId) Method
Declaration
getEditor(
columnFieldNameOrId: string
): BootstrapClientEdit
Parameters
Name |
Type |
columnFieldNameOrId |
string |
Returns
getEditor(columnIndex) Method
Declaration
getEditor(
columnIndex: number
): BootstrapClientEdit
Parameters
Name |
Type |
columnIndex |
number |
Returns
getEditValue(column) Method
Declaration
getEditValue(
column: BootstrapCardViewColumn
): string
Parameters
Returns
getEditValue(columnFieldNameOrId) Method
Declaration
getEditValue(
columnFieldNameOrId: string
): string
Parameters
Name |
Type |
columnFieldNameOrId |
string |
Returns
getEditValue(columnIndex) Method
Declaration
getEditValue(
columnIndex: number
): string
Parameters
Name |
Type |
columnIndex |
number |
Returns
getFocusedCardIndex Method
Declaration
getFocusedCardIndex(): number
Returns
getFocusedCell Method
Declaration
getFocusedCell(): BootstrapCardViewCellInfo | null
Returns
getPageCount Method
Declaration
getPageCount(): number
Returns
getPageIndex Method
Declaration
getPageIndex(): number
Returns
getPopupEditForm(): BootstrapPopupControl | null
getSelectedCardCount Method
Declaration
getSelectedCardCount(): number
Returns
getSelectedKeysOnPage Method
Declaration
getSelectedKeysOnPage(): any[]
Returns
getTopVisibleIndex Method
Declaration
getTopVisibleIndex(): number
Returns
getVerticalScrollPosition(): number
getVisibleCardsOnPage Method
Declaration
getVisibleCardsOnPage(): number
Returns
gotoPage(pageIndex) Method
Declaration
gotoPage(
pageIndex: number
): void
Parameters
Name |
Type |
pageIndex |
number |
hideCustomizationWindow Method
Declaration
hideCustomizationWindow(): void
isCardSelectedOnPage(visibleIndex) Method
Declaration
isCardSelectedOnPage(
visibleIndex: number
): boolean
Parameters
Name |
Type |
visibleIndex |
number |
Returns
isCustomizationWindowVisible Method
Declaration
isCustomizationWindowVisible(): boolean
Returns
isEditing Method
Declaration
isEditing(): boolean
Returns
isNewCardEditing Method
Declaration
isNewCardEditing(): boolean
Returns
moveColumn(column) Method
Declaration
moveColumn(
column: BootstrapCardViewColumn
): void
Parameters
moveColumn(column, moveToColumnVisibleIndex) Method
Declaration
moveColumn(
column: BootstrapCardViewColumn,
moveToColumnVisibleIndex: number
): void
Parameters
moveColumn(column, moveToColumnVisibleIndex, moveBefore) Method
Declaration
moveColumn(
column: BootstrapCardViewColumn,
moveToColumnVisibleIndex: number,
moveBefore: boolean
): void
Parameters
moveColumn(columnFieldNameOrId) Method
Declaration
moveColumn(
columnFieldNameOrId: string
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
moveColumn(columnFieldNameOrId, moveToColumnVisibleIndex) Method
Declaration
moveColumn(
columnFieldNameOrId: string,
moveToColumnVisibleIndex: number
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
moveToColumnVisibleIndex |
number |
moveColumn(columnFieldNameOrId, moveToColumnVisibleIndex, moveBefore) Method
Declaration
moveColumn(
columnFieldNameOrId: string,
moveToColumnVisibleIndex: number,
moveBefore: boolean
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
moveToColumnVisibleIndex |
number |
moveBefore |
boolean |
moveColumn(columnIndex) Method
Declaration
moveColumn(
columnIndex: number
): void
Parameters
Name |
Type |
columnIndex |
number |
moveColumn(columnIndex, moveToColumnVisibleIndex) Method
Declaration
moveColumn(
columnIndex: number,
moveToColumnVisibleIndex: number
): void
Parameters
Name |
Type |
columnIndex |
number |
moveToColumnVisibleIndex |
number |
moveColumn(columnIndex, moveToColumnVisibleIndex, moveBefore) Method
Declaration
moveColumn(
columnIndex: number,
moveToColumnVisibleIndex: number,
moveBefore: boolean
): void
Parameters
Name |
Type |
columnIndex |
number |
moveToColumnVisibleIndex |
number |
moveBefore |
boolean |
nextPage Method
Declaration
nextPage(): void
off<K> Method
Declaration
off<K extends keyof BootstrapCardViewEventMap>(
eventName?: K,
callback?: (this: BootstrapCardView,
args?: BootstrapCardViewEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapCardView, args?: BootstrapCardViewEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof BootstrapCardViewEventMap>(
eventName: K,
callback: (this: BootstrapCardView,
args?: BootstrapCardViewEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapCardView, args?: BootstrapCardViewEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof BootstrapCardViewEventMap>(
eventName: K,
callback: (this: BootstrapCardView,
args?: BootstrapCardViewEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapCardView, args?: BootstrapCardViewEventMap[K]) => void |
Type Parameters
Returns
performCallback(
data: any
): Promise<void>
performCallback(
data: any,
onSuccess: () => void
): void
Name |
Type |
data |
any |
onSuccess |
() => void |
prevPage Method
Declaration
prevPage(): void
refresh Method
Declaration
refresh(): void
selectAllCardsOnPage Method
Declaration
selectAllCardsOnPage(): void
selectCardOnPage(visibleIndex) Method
Declaration
selectCardOnPage(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
selectCardOnPage(visibleIndex, selected) Method
Declaration
selectCardOnPage(
visibleIndex: number,
selected: boolean
): void
Parameters
Name |
Type |
visibleIndex |
number |
selected |
boolean |
selectCards Method
Declaration
selectCards(): void
selectCardsByKey(key) Method
Declaration
selectCardsByKey(
key: any
): void
Parameters
selectCardsByKey(key, selected) Method
Declaration
selectCardsByKey(
key: any,
selected: boolean
): void
Parameters
Name |
Type |
key |
any |
selected |
boolean |
selectCardsByKey(keys) Method
Declaration
selectCardsByKey(
keys: any[]
): void
Parameters
selectCardsByKey(keys, selected) Method
Declaration
selectCardsByKey(
keys: any[],
selected: boolean
): void
Parameters
Name |
Type |
keys |
any[] |
selected |
boolean |
setEditValue(column, value) Method
Declaration
setEditValue(
column: BootstrapCardViewColumn,
value: string
): void
Parameters
setEditValue(columnFieldNameOrId, value) Method
Declaration
setEditValue(
columnFieldNameOrId: string,
value: string
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
value |
string |
setEditValue(columnIndex, value) Method
Declaration
setEditValue(
columnIndex: number,
value: string
): void
Parameters
Name |
Type |
columnIndex |
number |
value |
string |
setFilterEnabled(isFilterEnabled) Method
Declaration
setFilterEnabled(
isFilterEnabled: boolean
): void
Parameters
Name |
Type |
isFilterEnabled |
boolean |
setFocusedCardIndex(visibleIndex) Method
Declaration
setFocusedCardIndex(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
setFocusedCell(cardVisibleIndex, columnIndex) Method
Declaration
setFocusedCell(
cardVisibleIndex: number,
columnIndex: number
): void
Parameters
Name |
Type |
cardVisibleIndex |
number |
columnIndex |
number |
setSearchPanelCustomEditor(editor) Method
Declaration
setSearchPanelCustomEditor(
editor: BootstrapClientEdit
): void
Parameters
setVerticalScrollPosition(
position: number
): void
Name |
Type |
position |
number |
showCustomizationWindow Method
Declaration
showCustomizationWindow(): void
showFilterControl Method
Declaration
showFilterControl(): void
sortBy(column) Method
Declaration
sortBy(
column: BootstrapCardViewColumn
): void
Parameters
sortBy(column, sortOrder) Method
Declaration
sortBy(
column: BootstrapCardViewColumn,
sortOrder: string
): void
Parameters
sortBy(column, sortOrder, reset) Method
Declaration
sortBy(
column: BootstrapCardViewColumn,
sortOrder: string,
reset: boolean
): void
Parameters
sortBy(column, sortOrder, reset, sortIndex) Method
Declaration
sortBy(
column: BootstrapCardViewColumn,
sortOrder: string,
reset: boolean,
sortIndex: number
): void
Parameters
sortBy(columnFieldNameOrId) Method
Declaration
sortBy(
columnFieldNameOrId: string
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
sortBy(columnFieldNameOrId, sortOrder) Method
Declaration
sortBy(
columnFieldNameOrId: string,
sortOrder: string
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
sortOrder |
string |
sortBy(columnFieldNameOrId, sortOrder, reset) Method
Declaration
sortBy(
columnFieldNameOrId: string,
sortOrder: string,
reset: boolean
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
sortOrder |
string |
reset |
boolean |
sortBy(columnFieldNameOrId, sortOrder, reset, sortIndex) Method
Declaration
sortBy(
columnFieldNameOrId: string,
sortOrder: string,
reset: boolean,
sortIndex: number
): void
Parameters
Name |
Type |
columnFieldNameOrId |
string |
sortOrder |
string |
reset |
boolean |
sortIndex |
number |
sortBy(columnIndex) Method
Declaration
sortBy(
columnIndex: number
): void
Parameters
Name |
Type |
columnIndex |
number |
sortBy(columnIndex, sortOrder) Method
Declaration
sortBy(
columnIndex: number,
sortOrder: string
): void
Parameters
Name |
Type |
columnIndex |
number |
sortOrder |
string |
sortBy(columnIndex, sortOrder, reset) Method
Declaration
sortBy(
columnIndex: number,
sortOrder: string,
reset: boolean
): void
Parameters
Name |
Type |
columnIndex |
number |
sortOrder |
string |
reset |
boolean |
sortBy(columnIndex, sortOrder, reset, sortIndex) Method
Declaration
sortBy(
columnIndex: number,
sortOrder: string,
reset: boolean,
sortIndex: number
): void
Parameters
Name |
Type |
columnIndex |
number |
sortOrder |
string |
reset |
boolean |
sortIndex |
number |
startEditCard(visibleIndex) Method
Declaration
startEditCard(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
startEditCardByKey(key) Method
Declaration
startEditCardByKey(
key: any
): void
Parameters
unselectAllCardsOnPage Method
Declaration
unselectAllCardsOnPage(): void
unselectCardOnPage(visibleIndex) Method
Declaration
unselectCardOnPage(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
unselectCards Method
Declaration
unselectCards(): void
unselectCardsByKey(key) Method
Declaration
unselectCardsByKey(
key: any
): void
Parameters
unselectCardsByKey(keys) Method
Declaration
unselectCardsByKey(
keys: any[]
): void
Parameters
unselectFilteredCards Method
Declaration
unselectFilteredCards(): void
updateEdit Method
Declaration
updateEdit(): void