Defines the fluent API for configuring the TreeListColumnCommand settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListColumnCommandBuilder<T> where T : class
Inheritance: objectTreeListColumnCommandBuilder<T>
Inherited Members
Constructors
public TreeListColumnCommandBuilder(TreeListColumnCommand settings)
Methods
The CSS class that is applied to the command button.
public TreeListColumnCommandBuilder<T> ClassName(string value)
The value that configures the classname.
Returns: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.
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.
public TreeListColumnCommandBuilder<T> Click(string handler)
The value that configures the click action.
Returns:The CSS class that is applied to the icon span of the command button.
public TreeListColumnCommandBuilder<T> ImageClass(string value)
The value that configures the imageclass.
Returns: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.
public TreeListColumnCommandBuilder<T> Name(string value)
The value that configures the name.
Returns:The text that is displayed by the command button. If not set, the name option is used as the button text.
public TreeListColumnCommandBuilder<T> Text(string value)
The value that configures the text.
Returns: