# Blazor Grid Component Overview

This article provides a quick introduction to get your first <a href="https://demos.telerik.com/blazor-ui/grid/overview" target="_blank">Blazor data grid component</a> up and running. The article includes a video tutorial and a list of key features.

This article applies to Telerik UI for Blazor, .NET 8 and later, and the Grid component.

<span class="cta-panel-big-module--container--c08a9 d-print-none "><span class="row align-items-center justify-content-center cta-panel-big-module--row--9b71a"><span class="col-auto"><img class="cta-panel-big-module--icon--a648c" src="/blazor-ui/documentation/assets/35a2c49c0e7b061f81d272dd33a23e0d/avatar-ninja.svg" alt="AI coding assistants icon"></span><span class="col-12 col-sm"><span class="cta-panel-big-module--message--40a0f">Tired of reading docs? With our new AI Coding Assistants, you can add, configure, and troubleshoot Telerik UI for Blazor components—right inside your favorite AI-powered IDE: Visual Studio, VS Code, Cursor, and more. Start building faster, smarter, and with contextual intelligence powered by our docs/APIs:</span></span><span class="col-12 col-lg-auto"><a class="cta-panel-big-module--btnTrial--38b3e" href="https://www.telerik.com/blazor-ui/documentation/ai/overview?utm_source=ai-assistants-docs" target="_blank">Try AI Assistants</a></span></span></span>

The Telerik Blazor Data Grid provides a comprehensive set of ready-to-use features that cover everything from paging, sorting, filtering, editing, and grouping to row virtualization, optimized data reading, keyboard navigation, and accessibility support.

> tip **Jumpstart Your Grid** <br/><br/> With the Agentic UI Generator, you can build components and layouts using natural language prompts — directly inside AI-powered IDEs like VS Code and Cursor. Get intelligent assistance with component implementation, styling, layout design, and iconography powered by our documentation and APIs. <br/><br/>[Try the Agentic UI Generator](https://www.telerik.com/blazor-ui/documentation/ai/agentic-ui-generator/getting-started)

> important If the Grid appears unstyled or its icons do not match the rest of the Telerik UI, verify the [Telerik theme and JavaScript assets](https://www.telerik.com/blazor-ui/documentation/getting-started/workflow-details#css-theme-and-javascript-files) before adding custom CSS. Use theme and font icon assets from the same Telerik UI for Blazor package version. Register the font icon stylesheet only when the app uses Telerik font icons; SVG icons do not require it.

## Creating Blazor Grid

1. Use the `TelerikGrid` tag.
2. Assign the Grid `Data` parameter to an `IEnumerable<T>` property, **or** use the [`OnRead` event](https://www.telerik.com/blazor-ui/documentation/common-features/data-binding/onread). This example uses `Data`. The [Grid Data Binding article](https://www.telerik.com/blazor-ui/documentation/components/grid/data-binding) compares the two alternatives.
3. Optionally, enable data operations such as paging, sorting, or filtering.
4. Add [`GridColumn`](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/bound) instances under the `GridColumns` tag. Each column `Field` should point to the model property to display. Use `nameof()` or the plain field name. Define user-friendly column `Title`s or [`DisplayFormat` for numeric and date values](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/display-format).

> caption Get started with the Blazor Grid

<demo metaUrl="client/grid/overview/" height="700"></demo>

## Blazor Grid Video Tutorial

If you prefer video instructions, watch this short Blazor Grid video tutorial. It covers the following topics:

* Introduction to the Telerik Blazor Grid
* Add TelerikRootComponent to MainLayout
* Add a Blazor Grid
* Configure columns
* Enable additional features

<iframe width="560" height="315" src="https://www.youtube.com/embed/NW2hHtmM2Gk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Data Binding

There are [two main ways to provide data to the Grid: through the `Data` parameter and through the `OnRead` event](https://www.telerik.com/blazor-ui/documentation/components/grid/data-binding). `Data` provides **simplicity**, while `OnRead` allows more **flexibility** in complex scenarios and can improve **performance** when the data source contains many records.

## Data Operations

The Blazor Grid supports all fundamental data operations out-of-the-box:

* [Paging](https://www.telerik.com/blazor-ui/documentation/components/grid/paging) or alternatively, [virtual scrolling](https://www.telerik.com/blazor-ui/documentation/components/grid/virtual-scrolling)
* [Sorting](https://www.telerik.com/blazor-ui/documentation/components/grid/sorting)
* [Filtering](https://www.telerik.com/blazor-ui/documentation/components/grid/filter/overview)
* [Grouping](https://www.telerik.com/blazor-ui/documentation/components/grid/grouping/overview). The Grid can also [load the data for each group on demand](https://www.telerik.com/blazor-ui/documentation/components/grid/grouping/load-on-demand).
* [Aggregates](https://www.telerik.com/blazor-ui/documentation/components/grid/grouping/aggregates)

## Editing

The Grid can perform CRUD operations on its current data - add, edit and delete rows. It exposes events that let you control the editing and commit changes to the actual data source.

The Grid offers several editing modes with different user experiences: in-cell, inline, and popup.

See [Grid CRUD Operations Overview](https://www.telerik.com/blazor-ui/documentation/components/grid/editing/overview) for more details.

## Virtualization

The Blazor Grid features UI virtualization to improve browser performance:

* [Row virtualization](https://www.telerik.com/blazor-ui/documentation/components/grid/virtual-scrolling)
* [Column virtualization](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/virtual)

## Column Features

The Grid columns offer a rich set of functionality to enable immense flexibility for your application scenarios. The main column features include:

* [Display Format](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/display-format) for numeric and date values
* [Resizing](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/resize)
* [Reordering](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/reorder)
* [Column Menu](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/menu) to control data operations and column visibility
* [Frozen columns](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/frozen), which do not scroll horizontally (also called locked columns)
* [Multi-column Headers](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/multi-column-headers) to group multiple column headers under a single parent header
* [Column Events](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/events)
* [Visibility](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/visible) and [Width](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/width)

## Templates

The Grid supports custom content in various parts of the component such as data cells, headers, footers, editors and more. See [Grid Templates](https://www.telerik.com/blazor-ui/documentation/components/grid/templates/overview).

## More Blazor Grid Features

* [Selection](https://www.telerik.com/blazor-ui/documentation/components/grid/selection/overview)—select one or multiple rows through clicks or checkboxes or select one or multiple cells through clicks.
* [State](https://www.telerik.com/blazor-ui/documentation/components/grid/state)—get or set the Grid configuration programmatically.
* [Toolbar](https://www.telerik.com/blazor-ui/documentation/components/grid/toolbar)—define user actions in a toolbar above the header cells.
* [Hierarchy](https://www.telerik.com/blazor-ui/documentation/components/grid/hierarchy)—nest Grids and visualize parent-child relations between data records.
* [Drag and drop rows](https://www.telerik.com/blazor-ui/documentation/components/grid/row-drag-drop)—move rows in a Grid or between different Grids.
* [Loading animation](https://www.telerik.com/blazor-ui/documentation/components/grid/loading-animation)—show a loading animation to improve user experience during long data operations.
* Scrolling—the Grid will show standard scrollbars automatically if the data does not fit the current component width and height.
* [Highlighting](https://www.telerik.com/blazor-ui/documentation/components/grid/highlighting)—highlight rows or cells programmatically to draw attention to important data.

## Smart AI Features

The Grid supports AI-enabled natural language commands for filtering, sorting, grouping, highlighting, column operations, paging, selection, and exporting. The [Grid Smart AI Features overview](https://www.telerik.com/blazor-ui/documentation/components/grid/smart-ai-features/overview) describes the supported operations and the AI tools that you can add to the Grid toolbar.

## Blazor Grid API

See the [Grid API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikgrid-1) for the full list of Grid parameters, methods, and events.

## Blazor Grid Reference and Methods

The Grid has methods to execute actions such as:

* [rebind to refresh the data](https://www.telerik.com/blazor-ui/documentation/components/grid/refresh-data#rebind-method)
* [export to Excel](https://www.telerik.com/blazor-ui/documentation/components/grid/export/excel) and other formats
* [automatically resize columns to fit their content](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/resize#autofit-columns)
* [get or set the Grid configuration state](https://www.telerik.com/blazor-ui/documentation/components/grid/state)
* [get the dragged data item and its drop index from the destination Grid instance](https://www.telerik.com/blazor-ui/documentation/components/grid/row-drag-drop)

To execute these methods, obtain reference to the Grid instance via `@ref`.

> caption How to obtain a Grid reference and call methods

<demo metaUrl="client/grid/overview-ref/" height="600"></demo>

## Next Steps

* [Explore Grid data binding](https://www.telerik.com/blazor-ui/documentation/components/grid/data-binding)
* [Learn about Grid columns](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/bound)
* [Control the Grid with natural language prompts](https://www.telerik.com/blazor-ui/documentation/components/grid/smart-ai-features/overview)

## See Also

* [Live Demos: Grid](https://demos.telerik.com/blazor-ui/grid/overview)
* [Grid API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikgrid-1)

<VideoMetadata 
 name="Telerik UI for Blazor Data Grid"
 description="The Telerik Grid for Blazor is a powerful component, which allows you to visualize and edit data through its table representation. It provides a variety of options about how to present and perform operations over the underlying data, such as paging, sorting, filtering and editing. In this short video, we'll learn how to bind data to the data grid and customize its features."
 thumbnail-url="https://img.youtube.com/vi/NW2hHtmM2Gk/maxresdefault.jpg"
 upload-date="2020-02-13T00:00:00Z"
 duration="PT5M10S"
 content-url="https://youtu.be/NW2hHtmM2Gk"
 embed-url="https://www.youtube.com/embed/NW2hHtmM2Gk">
</VideoMetadata>
