Skip to main content

BootstrapGridBase Class

#Declaration

TypeScript
class BootstrapGridBase extends Control

#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

#Methods

#getToolbar(index) Method

#Declaration

TypeScript
getToolbar(
    index: number
): BootstrapMenu | null

#Parameters

Name Type
index number

#Returns

Type
BootstrapMenu
null

#getToolbarByName(name) Method

#Declaration

TypeScript
getToolbarByName(
    name: string
): BootstrapMenu | null

#Parameters

Name Type
name string

#Returns

Type
BootstrapMenu
null

#off<K> Method

#Declaration

TypeScript
off<K extends keyof BootstrapGridBaseEventMap>(
    eventName?: K,
    callback?: (this: BootstrapGridBase,
    args?: BootstrapGridBaseEventMap[K]) => void
): this

#Parameters

Name Type
eventName K
callback (this: BootstrapGridBase, args?: BootstrapGridBaseEventMap[K]) => void

#Type Parameters

Name Type
K keyof

#Returns

Type
this

#on<K>(eventName, callback) Method

#Declaration

TypeScript
on<K extends keyof BootstrapGridBaseEventMap>(
    eventName: K,
    callback: (this: BootstrapGridBase,
    args?: BootstrapGridBaseEventMap[K]) => void
): this

#Parameters

Name Type
eventName K
callback (this: BootstrapGridBase, args?: BootstrapGridBaseEventMap[K]) => void

#Type Parameters

Name Type
K keyof

#Returns

Type
this

#once<K>(eventName, callback) Method

#Declaration

TypeScript
once<K extends keyof BootstrapGridBaseEventMap>(
    eventName: K,
    callback: (this: BootstrapGridBase,
    args?: BootstrapGridBaseEventMap[K]) => void
): this

#Parameters

Name Type
eventName K
callback (this: BootstrapGridBase, args?: BootstrapGridBaseEventMap[K]) => void

#Type Parameters

Name Type
K keyof

#Returns

Type
this