Defines the fluent interface for configuring a custom action command in the Grid.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridCustomActionCommandBuilder<T> : GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>> where T : class
Inheritance: objectGridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>GridCustomActionCommandBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the GridCustomActionCommandBuilder<T> class.
public GridCustomActionCommandBuilder(GridCustomActionCommand command)
The GridCustomActionCommand options
Methods
Sets the click handler of the command
public GridCustomActionCommandBuilder<T> Click(Func<object, object> handler)
The handler function
Returns:GridCustomActionCommandBuilder<T>
The current GridCustomActionCommandBuilder<T> instance for method chaining.
Sets the click handler of the command
public GridCustomActionCommandBuilder<T> Click(string handler)
The name of the JavaScript click handler function
Returns:GridCustomActionCommandBuilder<T>
The current GridCustomActionCommandBuilder<T> instance for method chaining.