Edit this page

Kendo.Mvc.UI.Fluent.TreeListToolbarBuilder

Defines the fluent API for configuring the TreeListToolbar settings.

Methods

Click(System.String)

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

Parameters

value System.String

The value that configures the click.

Name(System.String)

The name of the toolbar command. Either a built-in ("create", "excel", "pdf") or custom. The name is reflected in one of the CSS classes, which is applied to the button - k-grid-name. This class can be used to get a reference to the button (after TreeList initialization) and attach click handlers.

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.