Kendo.Mvc.UI.Fluent.TreeListToolbarBuilder

Defines the fluent API for configuring TreeListToolbar

Properties

Container

Gets the container of the TreeListToolbarBuilder

Methods

Click(System.String)

The click handler of the toolbar command. Used for custom toolbar commands.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

Click(System.Func<System.Object,System.Object>)

The click handler of the toolbar command. Used for custom toolbar commands.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

ImageClass(System.String)

A class name that will be rendered inside the toolbar button. When you set this option, the TreeList renders an additional span element inside the toolbar button which has a class name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.

Parameters

value System.String

The value for ImageClass

Name(System.String)

The name of the toolbar command. Can be either a built-in ("create", "excel", or "pdf") or a custom string. The name is output in the HTML as a value of the data-command attribute of the button.

Parameters

value System.String

The value for Name

Text(System.String)

The text that is displayed by the command button. If not set, the TreeList will use the name` option as the button text instead.

Parameters

value System.String

The value for Text

In this article
Not finding the help you need?