New to Telerik UI for BlazorStart a free 30-day trial

The class describes the event arguments of the Component events that are triggered by command buttons and CUD operations.

Definition

Namespace:Telerik.Blazor.Components.Common.Grid

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class TableGridBaseCommandEventArgs : EventArgs

Inheritance: objectEventArgsTableGridBaseCommandEventArgs

Derived Classes: GanttTaskCommandEventArgsGridCommandEventArgsTreeListCommandEventArgs

Inherited Members EventArgs.Empty

Constructors

C#
public TableGridBaseCommandEventArgs(bool isNew)
Parameters:isNewbool
C#
public TableGridBaseCommandEventArgs(object item, bool isNew)
Parameters:itemobjectisNewbool
C#
public TableGridBaseCommandEventArgs(object item, string field, object value)
Parameters:itemobjectfieldstringvalueobject
C#
public TableGridBaseCommandEventArgs(object item)
Parameters:itemobject

Properties

Defines the updated field. Available for incell editing.

C#
public string Field { get; set; }

Defines if the command should be cancelled.

C#
public bool IsCancelled { get; set; }

Defines id the data item is recently added by the end user through the Component UI.

C#
public bool IsNew { get; set; }

Defines the affected data item. You can cast it to the model type to which you bind the Grid.

C#
public object Item { get; set; }

Defines the updated value. Available for incell editing.

C#
public object Value { get; set; }