BootstrapTreeView Class
# Declaration
TypeScript
class BootstrapTreeView extends Control
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
# collapseAll Method
# Declaration
# expandAll Method
# Declaration
# getNode(index) Method
# Declaration
# Parameters
# Returns
# getNodeByName(name) Method
# Declaration
# Parameters
# Returns
# getNodeByText(text) Method
# Declaration
# Parameters
# Returns
# getNodeCount Method
# Declaration
# Returns
# getRootNode Method
# Declaration
# Returns
# getSelectedNode Method
# Declaration
# Returns
# off<K> Method
# Declaration
TypeScript
off<K extends keyof BootstrapTreeViewEventMap>(
eventName?: K,
callback?: (this : BootstrapTreeView,
args?: BootstrapTreeViewEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: BootstrapTreeView , args?: BootstrapTreeViewEventMap[K]) => void
# Type Parameters
# Returns
# on<K>(eventName, callback) Method
# Declaration
TypeScript
on<K extends keyof BootstrapTreeViewEventMap>(
eventName: K,
callback: (this : BootstrapTreeView,
args?: BootstrapTreeViewEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: BootstrapTreeView , args?: BootstrapTreeViewEventMap[K]) => void
# Type Parameters
# Returns
# once<K>(eventName, callback) Method
# Declaration
TypeScript
once<K extends keyof BootstrapTreeViewEventMap>(
eventName: K,
callback: (this : BootstrapTreeView,
args?: BootstrapTreeViewEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: BootstrapTreeView , args?: BootstrapTreeViewEventMap[K]) => void
# Type Parameters
# Returns
# setSelectedNode(node) Method
# Declaration
# Parameters