I see in document sample that it is very easy to alternate grid row color with below style.
But it seems have no effect for my grid. What could I be wrong?
<ejs-grid ref="grid" height=450
:dataSource="boundaryList"
:allowSorting="true"
:allowFiltering="true"
:enableVirtualization=true
>
<e-columns>
<e-column field="BoundaryId" headerText="ID" textAlign="Center" width="90"></e-column>
<e-column field="BoundaryName" headerText="Name" width="120"></e-column>
<e-column field="BoundaryNameEn" headerText="Name (EN)" width="120"></e-column>
</e-columns>
</ejs-grid>
<style>
@import "../node_modules/@syncfusion/ej2-vue-grids/styles/material.css";
.e-grid .e-altrow {
background-color: #fafafa;
}
</style>