Kendo.Mvc.UI.Fluent.TreeListToolbarBuilder

Defines the fluent API for configuring the TreeListToolbar settings.

Methods

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 value that configures the click action.

Click(System.String)

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

Parameters

handler System.String

The value that configures the click action.

ImageClass(System.String)

A class name to render inside the toolbar button. When you set this option, the TreeList renders an additional span element inside the toolbar button, with a class name set to the option value. This allows you to display an icon inside your custom toolbar commands.

Parameters

value System.String

The value that configures the imageclass.

Name(System.String)

The name of the toolbar command. Either a built-in ("create", "excel", "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 that configures the name.

Text(System.String)

The text displayed by the command button. If not set the name` option would be used as the button text instead.

Parameters

value System.String

The value that configures the text.

In this article
Not finding the help you need?