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 if 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#
[Obsolete("This property is deprecated. Use the Items property instead.")]
public object Item { get; set; }

Defines the affected data items in batch operations such as batch delete. Contains all selected items when the delete toolbar button is used with multiple selection. You can cast each item to the model type to which you bind the Grid.

C#
public IEnumerable<object> Items { get; set; }

Defines the updated value. Available for incell editing.

C#
public object Value { get; set; }