Edit this page

Kendo.Mvc.UI.Fluent.TreeListColumnCommandBuilder

Defines the fluent API for configuring the TreeListColumnCommand settings.

Methods

ClassName(System.String)

The CSS class applied to the command button.

Parameters

value System.String

The value that configures the classname.

ImageClass(System.String)

The CSS class applied to the icon span of the command button.

Parameters

value System.String

The value that configures the imageclass.

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

The JavaScript function executed when the user clicks the command button. The function receives a jQuery Event as an argument.The function context (available via the this keyword) will be set to the treelist instance.

Parameters

value System.Func<System.Object,System.Object>

The value that configures the click action.

Click(System.String)

The JavaScript function executed when the user clicks the command button. The function receives a jQuery Event as an argument.The function context (available via the this keyword) will be set to the treelist instance.

Parameters

value System.String

The value that configures the click action.

Name(System.String)

The name of the command. The built-in command names are "edit", "createChild" and "destroy". Check the columns.command section for additional important information. When set to a custom value, the name is rendered as a data-command attribute.

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 is used as the button text.

Parameters

value System.String

The value that configures the text.