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

TreeListColumnCommandBuilder

Methods

ClassName(System.String)

The CSS class that is applied to the command button.

Parameters

value - System.String

The value that configures the classname.

ImageClass(System.String)

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

Parameters

value - System.String

The value that configures the imageclass.

Click(System.Func)

The JavaScript function that is executed when the user clicks the command button. The function receives a jQuery event as an argument. The function context that is available through the this keyword will be set to the TreeList instance.

Parameters

handler - System.Func<Object,Object>

The value that configures the click action.

Click(System.String)

The JavaScript function that is executed when the user clicks the command button. The function receives a jQuery event as an argument. The function context that is available through the this keyword will be set to the TreeList instance.

Parameters

handler - System.String

The value that configures the click action.

Name(System.String)

The name of the command. Commands can be built-in ("edit", "createChild" and "destroy") or custom. When set to a custom value, the name is rendered as a data-command attribute. For more information, refer to the columns.command section.

Parameters

value - System.String

The value that configures the name.

Text(System.String)

The text that is 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.

In this article
Not finding the help you need?