Cell Types

Rowstack provides specialized renderers and editors for various data types. By specifying a type in your column definition, Rowstack automatically handles formatting, icons, and input methods.

#Built-in Types

TypeDescriptionIcons/Styling
textStandard single-line text.Default
numberNumeric values.Supports custom icons (e.g., $)
longTextMulti-line text for descriptions or notes.Expandable on focus
selectSingle-choice dropdown.Color-coded badges
multiSelectMultiple-choice dropdown.Tag-style badges
dateDate values.Calendar icon & Date picker
checkboxBoolean (true/false) values.Interactive checkbox
linkURL strings.Clickable blue links
formulaCalculated values.Read-only by default

#Usage

Specify the type in the columns array:

const columns = [
  {
    id: "status",
    name: "Status",
    type: "select",
    options: [
      { name: "Active", value: "active", color: "green" },
      { name: "Pending", value: "pending", color: "yellow" }
    ]
  },
  {
    id: "amount",
    name: "Amount",
    type: "number"
  }
];

#Custom Types

If the built-in types don't meet your needs, you can create Custom Cells to render any React component within the grid.