Class
GridRowClickEventArgs

The class that describes the event arguments to the grid events.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class GridRowClickEventArgs

Inheritance: objectGridRowClickEventArgs

Constructors

GridRowClickEventArgs(object, string, EventArgs)

Declaration

cs-api-definition
public GridRowClickEventArgs(object item, string field, EventArgs eventArgs)

Parameters

item

object

field

string

eventArgs

EventArgs

Properties

EventArgs

Defines the arguments of the event. You can cast it to the specific argument type (MouseEventArgs or KeyboardEventArgs) to check the event origin and obtain additional event arguments.

Declaration

cs-api-definition
public EventArgs EventArgs { get; set; }

Property Value

EventArgs

Field

The Field of the clicked Grid column. This property will be populated when you click on a data cell.

Declaration

cs-api-definition
public string Field { get; set; }

Property Value

string

Item

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

Declaration

cs-api-definition
public object Item { get; set; }

Property Value

object

ShouldRender

Defines if the component should re-render after the handler execution. Useful when you need to update parameter, or state of the Grid in the event. The default value is false.

Declaration

cs-api-definition
public bool ShouldRender { get; set; }

Property Value

bool