BootstrapGridViewBatchEditApi Class
Declaration
class BootstrapGridViewBatchEditApi
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(visibleIndex) Method
Declaration
deleteRow(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
deleteRowByKey(key) Method
Declaration
deleteRowByKey(
key: any
): void
Parameters
endEdit Method
Declaration
endEdit(): void
getCellTextContainer(visibleIndex, columnFieldNameOrId) Method
Declaration
getCellTextContainer(
visibleIndex: number,
columnFieldNameOrId: string
): any
Parameters
Name |
Type |
visibleIndex |
number |
columnFieldNameOrId |
string |
Returns
getCellValue(visibleIndex, columnFieldNameOrId, initial) Method
Declaration
getCellValue(
visibleIndex: number,
columnFieldNameOrId: string,
initial: boolean
): any
Parameters
Name |
Type |
visibleIndex |
number |
columnFieldNameOrId |
string |
initial |
boolean |
Returns
getColumnDisplayText(columnFieldNameOrId, value) Method
Declaration
getColumnDisplayText(
columnFieldNameOrId: string,
value: any
): string
Parameters
Name |
Type |
columnFieldNameOrId |
string |
value |
any |
Returns
getDeletedRowIndices Method
Declaration
getDeletedRowIndices(): number[]
Returns
getEditCellInfo Method
Declaration
getEditCellInfo(): BootstrapGridViewCellInfo | null
Returns
getInsertedRowIndices Method
Declaration
getInsertedRowIndices(): number[]
Returns
getRowVisibleIndices(includeDeleted) Method
Declaration
getRowVisibleIndices(
includeDeleted: boolean
): number[]
Parameters
Name |
Type |
includeDeleted |
boolean |
Returns
hasChanges Method
Declaration
hasChanges(): boolean
Returns
isDeletedRow(visibleIndex) Method
Declaration
isDeletedRow(
visibleIndex: number
): boolean
Parameters
Name |
Type |
visibleIndex |
number |
Returns
isNewRow(visibleIndex) Method
Declaration
isNewRow(
visibleIndex: number
): boolean
Parameters
Name |
Type |
visibleIndex |
number |
Returns
moveFocusBackward Method
Declaration
moveFocusBackward(): boolean
Returns
moveFocusForward Method
Declaration
moveFocusForward(): boolean
Returns
recoverRow(visibleIndex) Method
Declaration
recoverRow(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
recoverRowByKey(key) Method
Declaration
recoverRowByKey(
key: any
): void
Parameters
resetChanges(visibleIndex) Method
Declaration
resetChanges(
visibleIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
resetChanges(visibleIndex, columnIndex) Method
Declaration
resetChanges(
visibleIndex: number,
columnIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
columnIndex |
number |
setCellValue(visibleIndex, columnFieldNameOrId, value) Method
Declaration
setCellValue(
visibleIndex: number,
columnFieldNameOrId: string,
value: any
): void
Parameters
Name |
Type |
visibleIndex |
number |
columnFieldNameOrId |
string |
value |
any |
setCellValue(visibleIndex, columnFieldNameOrId, value, displayText, cancelCellHighlighting) Method
Declaration
setCellValue(
visibleIndex: number,
columnFieldNameOrId: string,
value: any,
displayText: string,
cancelCellHighlighting: boolean
): void
Parameters
Name |
Type |
visibleIndex |
number |
columnFieldNameOrId |
string |
value |
any |
displayText |
string |
cancelCellHighlighting |
boolean |
startEdit(visibleIndex, columnIndex) Method
Declaration
startEdit(
visibleIndex: number,
columnIndex: number
): void
Parameters
Name |
Type |
visibleIndex |
number |
columnIndex |
number |
validateRow(visibleIndex) Method
Declaration
validateRow(
visibleIndex: number
): boolean
Parameters
Name |
Type |
visibleIndex |
number |
Returns
validateRows(validateOnlyModified) Method
Declaration
validateRows(
validateOnlyModified: boolean
): boolean
Parameters
Name |
Type |
validateOnlyModified |
boolean |
Returns