From what I understood, based on the info contained in this link
here , to change the grid columns style, each one in the grid must be individually customized via a CustomAttributtes. That is a great functionality, but what if I want all columns to have the same style ? Is there a way to do it or should the same CustomAttributtes be applied to each one of the columns in the grid ?
e-attr{
background: #5DADE2;
font-family: "Bell MT";
color: red;
font-size: 5px;
}
<GridColumns>
<GridColumn Field=@nameof(Order.OrderID) ></GridColumn>
<GridColumn Field=@nameof(Order.CustomerID) </GridColumn>
<GridColumn Field=@nameof(Order.OrderDate) CustomAttributes="@(new Dictionary<string, object>(){ { "class", "e-attr" }})"></GridColumn>
<GridColumn Field=@nameof(Order.Freight)></GridColumn>
</GridColumns>