• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chart Wizardnew
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Toolsupdated
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

KendoReact Data Grid Custom Cells Overview

The KendoReact Data Grid provides the option to override its internal components by allowing you to customize its different types of cells.

Starting with KendoReact 5.14.0, you can apply more customizations to the Grid with a new set of properties. The previously available props such as the GridColumn cell prop or the Grid cellRender callback are still available but provide less options for customization as the ones listed in this article.

Getting Started with the KendoReact Data Grid Custom Cells

The Grid has a cells property that provides the option to add a template to every single cell in the Grid infrastructure separately. In addition, the cells prop is also available for the GridColumn component, and is useful if you want to configure the cells of an individual column.

Add Basic Custom Data Cell

All the bellow customizations can be done on the GridColumn level using its cells property.

In the following example, a custom data cell is rendered for the GridColumn with the Discontinued field.

Example
View Source
Change Theme:

The following properties allow you to customize the group header and footer as well as the header, footer, filter, and data cells:

Example
View Source
Change Theme:

Customizing the Edit Cells

The cells edit property provides the option to customize the numeric, boolean, text, and date edit cells.

Example
View Source
Change Theme:

Customizing the Hierarchy Cells

The cells hierarchy property provides the option to customize group header, group footer, and data cells of the detail component.

Example
View Source
Change Theme:

Customizing the Group Cells

The cells group property provides the option to customize the group header, group footer, and data cells of each group.

Example
View Source
Change Theme:

Locked Groups and Columns

When having locked groups (using the lockGroups prop) or locked columns (using the locked prop), additional styles will be added to the td element that lock it into position. However, if you are setting additional styles to the td element, these styles will be overridden. Therefore, these should be passed to the rendered td element. In addition, when having locked groups and columns, it is also required to render an additional td element td2 which is required in this scenario.

Example
View Source
Change Theme:

Customizing the Selection Cells

The cells select property provides the option to customize the group header, group footer, and data cells of each selected cell.

Example
View Source
Change Theme:

KendoReact Data Grid Custom Cells APIs