New to Telerik UI for ASP.NET Core? Download free 30-day trial

TreeMapEventBuilder

Methods

ItemCreated(System.String)

Defines the handler of the ItemCreated client-side event. Fires when a tile has been created.

For more information see ItemCreated event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the itemCreated event.

Example


             @(Html.Kendo().TreeMap()
               .Name("treeMap")
               .Events(events => events.ItemCreated("onItemCreated"))
             )

ItemCreated(System.Func)

Defines the handler of the ItemCreated client-side event. Fires when a tile has been created.

For more information see ItemCreated event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


             @(Html.Kendo().TreeMap()
               .Name("treeMap")
               .Events(events => events.ItemCreated(@<text>
                    function(e) {
                        // Handle the ItemCreated event inline.
                    }
                    </text>)
                )
             )

DataBound(System.String)

Defines the handler of the DataBound client-side event. Fires when the TreeMap is bound to the data from its DataSource.

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().TreeMap()
               .Name("treeMap")
               .Events(events => events.DataBound("onDataBound"))
             )

DataBound(System.Func)

Defines the handler of the DataBound client-side event. Fires when the TreeMap is bound to the data from its DataSource.

For more information see DataBound event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


             @(Html.Kendo().TreeMap()
               .Name("treeMap")
               .Events(events => events.DataBound(@<text>
                    function(e) {
                        // Handle the DataBound event inline.
                    }
                    </text>)
                )
             )

In this article
Not finding the help you need?