Syncfusion.EJ2

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

EnableAltRow Property (Grid)

If `enableAltRow` is set to true, the grid will render with `e-altrow` CSS class to the alternative tr elements. > Check the [`AltRow`](../../grid/row/#styling-alternate-rows/) to customize the styles of alternative rows.
Syntax
[DefaultValue(true)]
[HtmlAttributeName("enableAltRow")]
[Newtonsoft.Json.JsonProperty("enableAltRow")]
public bool EnableAltRow {get; set;}
[DefaultValue(true)]
[HtmlAttributeName("enableAltRow")]
[Newtonsoft.Json.JsonProperty("enableAltRow")]
public:
property bool EnableAltRow {
   bool get();
   void set (    bool value);
}
AssemblyVersion

Syncfusion.EJ2: 17.3500.0.26

See Also