# KendoReact Grid Styling Overview

The KendoReact Grid enables you to style its columns, rows, and cells.

<div data-component="StartKendoReactFreeSection"></div>

## Styling the KendoReact Grid Columns

To style the columns of the Grid, either:

* [Add custom cells for columns](https://www.telerik.com/kendo-react-ui/components/grid/cells), or
* [Add class names for `td` elements](https://www.telerik.com/kendo-react-ui/components/grid/styling/basics#setting-class-names).

### Setting Class Names

The [`className`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops#classname) property applies additional class to the `td` element and can be used for styling the background, text color, text alignment, and other styling options of the Grid.

```jsx
    <GridColumn field="ProductName" title="Product Name" className="product-name">
```

```css
product-name {
    color: 'white';
    background-color: '#888888';
}
```

## Styling the KendoReact Grid Rows

To style the rows of the Grid, use the [`rows`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridprops#rows) function, which allows you to modify the appearance of the rows based on the provided values:

* [Implement custom rows in KendoReact Grid](https://www.telerik.com/kendo-react-ui/components/grid/rows/custom-rows)

## Styling the KendoReact Grid Individual Elements

You can individually style Grid elements using CSS.

> The Grid provides multiple elements that can be individually styled. Before you apply the styling options to the desired elements, inspect the element and use selectors of higher priority.

## Applying Conditional Styling

You can use the custom `cells.data` functionality of the Grid to change the appearance of the cells on condition and based on the provided value.

The following example demonstrates conditional cell styling using `cells.data`, where cell background colors change dynamically based on the field value.

[Demo Source](https://demos.telerik.com/kendo-react-ui/grid/styling-dynamic/func/source.txt)

## Suggested Links

* [API Index of the Grid](https://www.telerik.com/kendo-react-ui/components/grid/api)
* [Creating Custom Styles](https://www.telerik.com/kendo-react-ui/components/styling/theme-builder)
* [Custom Cells](https://www.telerik.com/kendo-react-ui/components/grid/cells/)
