Syncfusion.EJ2

Syncfusion.EJ2.Grids Namespace > Grid Class : SelectedRowIndex Property

SelectedRowIndex Property (Grid)

The `selectedRowIndex` allows you to select a row at initial rendering. You can also get the currently selected row index.
Syntax
[DefaultValue(-1)]
[HtmlAttributeName("selectedRowIndex")]

public double SelectedRowIndex {get; set;}
[DefaultValue(-1)]
[HtmlAttributeName("selectedRowIndex")]

public:
property double SelectedRowIndex {
   double get();
   void set (    double value);
}
AssemblyVersion

Syncfusion.EJ2: 18.2500.0.44

See Also