BootstrapGridViewBatchEditApi Class

Declaration

export class BootstrapGridViewBatchEditApi

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.

Methods

addNewRow Method

Declaration

addNewRow(): void

deleteRow Method

Declaration

deleteRow(visibleIndex: number): void

Parameters

Name Type Description
visibleIndex

deleteRowByKey Method

Declaration

deleteRowByKey(key: any): void

Parameters

Name Type Description
key

endEdit Method

Declaration

endEdit(): void

getCellTextContainer Method

Declaration

getCellTextContainer(visibleIndex: number, columnFieldNameOrId: string): any

Parameters

Name Type Description
visibleIndex
columnFieldNameOrId

Returns

Type Description
any

getCellValue Method

Declaration

getCellValue(visibleIndex: number, columnFieldNameOrId: string, initial: boolean): any

Parameters

Name Type Description
visibleIndex
columnFieldNameOrId
initial

Returns

Type Description
any

getColumnDisplayText Method

Declaration

getColumnDisplayText(columnFieldNameOrId: string, value: any): string

Parameters

Name Type Description
columnFieldNameOrId
value

Returns

Type Description
string

getDeletedRowIndices Method

Declaration

getDeletedRowIndices(): array[number]

Returns

Type Description
array[number]

getEditCellInfo Method

Declaration

getEditCellInfo(): BootstrapGridViewCellInfo | null

Returns

Type Description
BootstrapGridViewCellInfo
null

getInsertedRowIndices Method

Declaration

getInsertedRowIndices(): array[number]

Returns

Type Description
array[number]

getRowVisibleIndices Method

Declaration

getRowVisibleIndices(includeDeleted: boolean): array[number]

Parameters

Name Type Description
includeDeleted

Returns

Type Description
array[number]

hasChanges Method

Declaration

hasChanges(): boolean

Returns

Type Description
boolean

isDeletedRow Method

Declaration

isDeletedRow(visibleIndex: number): boolean

Parameters

Name Type Description
visibleIndex

Returns

Type Description
boolean

isNewRow Method

Declaration

isNewRow(visibleIndex: number): boolean

Parameters

Name Type Description
visibleIndex

Returns

Type Description
boolean

moveFocusBackward Method

Declaration

moveFocusBackward(): boolean

Returns

Type Description
boolean

moveFocusForward Method

Declaration

moveFocusForward(): boolean

Returns

Type Description
boolean

recoverRow Method

Declaration

recoverRow(visibleIndex: number): void

Parameters

Name Type Description
visibleIndex

recoverRowByKey Method

Declaration

recoverRowByKey(key: any): void

Parameters

Name Type Description
key

resetChanges Method

Declaration

resetChanges(visibleIndex: number): void

Parameters

Name Type Description
visibleIndex

setCellValue Method

Declaration

setCellValue(visibleIndex: number, columnFieldNameOrId: string, value: any): void

Parameters

Name Type Description
visibleIndex
columnFieldNameOrId
value

startEdit Method

Declaration

startEdit(visibleIndex: number, columnIndex: number): void

Parameters

Name Type Description
visibleIndex
columnIndex

validateRow Method

Declaration

validateRow(visibleIndex: number): boolean

Parameters

Name Type Description
visibleIndex

Returns

Type Description
boolean

validateRows Method

Declaration

validateRows(validateOnlyModified: boolean): boolean

Parameters

Name Type Description
validateOnlyModified

Returns

Type Description
boolean