DropDownTreeEventBuilder
Methods
Change(System.String)
Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the change event.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Change("change"))
)
Change(System.Func)
Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Change event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Change(
@<text>
function(e) {
// event handling code
}
</text>)
)
)
Close(System.String)
Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Close event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the close event.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Close("close"))
)
Close(System.Func)
Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Close event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Close(
@<text>
function(e) {
// event handling code
}
</text>)
)
)
DataBound(System.String)
Fired when the widget or sub levels of its items are bound to data from the dataSource.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the dataBound event.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.DataBound("dataBound"))
)
DataBound(System.Func)
Fired when the widget or sub levels of its items are bound to data from the dataSource.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see DataBound event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.DataBound(
@<text>
function(e) {
// event handling code
}
</text>)
)
)
Filtering(System.String)
Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Filtering event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the filtering event.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Filtering("filtering"))
)
Filtering(System.Func)
Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Filtering event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Filtering(
@<text>
function(e) {
// event handling code
}
</text>)
)
)
Open(System.String)
Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Open event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the open event.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Open("open"))
)
Open(System.Func)
Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Open event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Open(
@<text>
function(e) {
// event handling code
}
</text>)
)
)
Select(System.String)
Triggered when a node is being selected by the user. Cancellable. When checkboxes are enabled, it is also triggered when a node is being deselected.
For more information see Select event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the select event.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Select("select"))
)
Select(System.Func)
Triggered when a node is being selected by the user. Cancellable. When checkboxes are enabled, it is also triggered when a node is being deselected.
For more information see Select event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Events(events => events.Select(
@<text>
function(e) {
// event handling code
}
</text>)
)
)