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

Creates command for the Grid<T>.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

The type of the data item

Syntax:

C#
public class GridActionCommandFactory<T> where T : class

Inheritance: objectGridActionCommandFactory<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the GridActionCommandFactory<T> class.

C#
public GridActionCommandFactory(GridActionColumn<T> column)
Parameters:columnGridActionColumn<T>

The column.

Methods

Defines a custom command.

C#
public GridCustomActionCommandBuilder<T> Custom(string name)
Parameters:namestringReturns:

GridCustomActionCommandBuilder<T>

Defines a delete command.

C#
public GridDestroyActionCommandBuilder Destroy()
Returns:

GridDestroyActionCommandBuilder

Defines a edit command.

C#
public GridEditActionCommandBuilder Edit()
Returns:

GridEditActionCommandBuilder

Defines a select command.

C#
public GridSelectActionCommandBuilder Select()
Returns:

GridSelectActionCommandBuilder