Cell templates introduction

Idea of cell templates

In getting started chapter we declared cells array to be part of ReactGrid property.

Each cell template has its own and unique behavior, content formatting and styling.

Nothing stops you from creating your custom cell - read about creating your own cell template .

In the listing below we declared two cells of header type, and they are related to the interface of HeaderCell template.

cells: [
    { type: "header", text: "Name" },
    { type: "header", text: "Surname" }

Every cell object must contain type attribute, other keys depend on the exact type of a specific cell.

Builtin cell templates