Skip to content
MUI’s hosted AI Assistant backend shuts down at the end of 2026.Switch in two lines →
  • Products
    • AG Grid AI Toolkit Early accessThe model and the server behind the toolkit.
    • MUI X Data Grid StableThe backend for the Premium AI Assistant.
    • TanStack Table Public alphaA plugin that applies each answer to your table.
    • AG Studio Early accessA hosted backend for its assistant, not built yet.
  • How it works
  • Accuracy
  • Pricing
  • Security
  • Docs
    • Quickstart: server route
    • Quickstart: TanStack Table
    • Browser keys
    • Moving from MUI’s hosted service
    • Guide: when MUI’s service retires
Sign inStart a 7-day trial
Menu
  • Products
    • AG Grid AI Toolkit Early access
    • MUI X Data Grid Stable
    • TanStack Table Public alpha
    • AG Studio Early access
  • How it works
  • Accuracy
  • Pricing
  • Security
  • Docs
    • Quickstart: server route
    • Quickstart: TanStack Table
    • Browser keys
    • Moving from MUI’s hosted service
    • Guide: when MUI’s service retires
  • Sign in

Product

  • How it works
  • Accuracy
  • Pricing
  • Data and security

Grids

  • AG Grid AI ToolkitEarly access
  • MUI X Data Grid PremiumStable
  • TanStack TablePublic alpha
  • AG StudioEarly access

Docs

  • Quickstart: server route
  • Browser keys
  • Guide: when MUI’s service retires

Company

  • Contact
  • Terms
  • Privacy

Not affiliated with or endorsed by MUI or AG Grid. MUI and AG Grid are trademarks of their respective owners.

© 2026 Gridsay

Docs pages
Start
  • Documentation
  • How it works
  • Examples
MUI X Data Grid
  • Quickstart: server route
  • From the browser
  • Using the helper
  • Filtering
  • Sorting
  • Grouping
  • Aggregation
  • Pivoting
  • Charts
  • Row selection
  • Follow-up questions
  • Refusals and errors
  • Moving from MUI’s service
  • Reference
TanStack Table
  • Quickstart
  • Describing columns
  • Filtering
  • Sorting
  • Grouping
  • Row selection
  • Server-side data
  • Controlled state
  • Undo and reset
  • Refusals and errors
  • API reference
Keys and sign-in
  • Secret and publishable keys
  • Browser keys
  • JWT and OIDC
  • Session tokens
  • Identity webhook
  • Per-user limits
  • The console
  • Data and privacy
HTTP API
  • HTTP API
  • Authentication
  • Data Grid endpoint
  • Follow-up questions
  • Private mode
Reference
  • Errors
  • Limits
  • Tiers and credits
  • @gridsay/core
On this page

On this page

  1. Set up a column
  2. The meta.assistant settings
  3. What leaves your app
  4. Keep a column out of an operation
  5. Keep the request small
  6. Next
Skip to the article
Start
  • Documentation
  • How it works
  • Examples
MUI X Data Grid
  • Quickstart: server route
  • From the browser
  • Using the helper
  • Filtering
  • Sorting
  • Grouping
  • Aggregation
  • Pivoting
  • Charts
  • Row selection
  • Follow-up questions
  • Refusals and errors
  • Moving from MUI’s service
  • Reference
TanStack Table
  • Quickstart
  • Describing columns
  • Filtering
  • Sorting
  • Grouping
  • Row selection
  • Server-side data
  • Controlled state
  • Undo and reset
  • Refusals and errors
  • API reference
Keys and sign-in
  • Secret and publishable keys
  • Browser keys
  • JWT and OIDC
  • Session tokens
  • Identity webhook
  • Per-user limits
  • The console
  • Data and privacy
HTTP API
  • HTTP API
  • Authentication
  • Data Grid endpoint
  • Follow-up questions
  • Private mode
Reference
  • Errors
  • Limits
  • Tiers and credits
  • @gridsay/core

Describing columns

On this page

  1. Set up a column
  2. The meta.assistant settings
  3. What leaves your app
  4. Keep a column out of an operation
  5. Keep the request small
  6. Next

The assistant reads your columns to understand a question: their ids, headers and types, and what you add under meta.assistant. Give each column a name your users recognise, and add units or meaning where the name is not enough.

Ask

Show tickets that are waiting on the customer

Changes1 change
  1. 1filter Status is Waiting on customer

The label "Waiting on customer" is stored as pending. Only the column's option list says so, and the plugin writes the stored value.

Set up a column#

TypeScript
import { assistantColumn } from '@gridsay/tanstack-table';import {  columnFilteringFeature,  createColumnHelper,  createFilteredRowModel,  createSortedRowModel,  rowSortingFeature,  tableFeatures,} from '@tanstack/react-table'; type Order = { id: string; total: number; status: string; customer: string };export const features = tableFeatures({  columnFilteringFeature,  filteredRowModel: createFilteredRowModel(),  rowSortingFeature,  sortedRowModel: createSortedRowModel(),});const helper = createColumnHelper<typeof features, Order>();export const columns = helper.columns([  helper.accessor('total', {    header: 'Order total',    meta: { assistant: { type: 'number', description: 'Order total in euros, including tax' } },    cell: (info) => `€${info.getValue().toFixed(2)}`,  }),  helper.accessor('status', {    header: 'Status',    meta: {      assistant: {        type: 'singleSelect',        options: [          { value: 'paid', label: 'Paid' },          { value: 'refunded', label: 'Refunded' },        ],      },    },  }),  helper.accessor('customer', {    header: 'Customer',    meta: { assistant: { description: 'Customer display name', examples: ['Example company'] } },  }),]);export const defaultColumn = assistantColumn;
  • Only columns with an accessor are described. Display columns, buttons and row numbers are not, and an answer that names one is not applied.
  • An accessor function needs an id or a string header, which becomes its id. Ids longer than 255 characters are left out.
  • A string header is sent as the column's name. A header that is a function is not sent; add a description instead.
  • Keep values raw. Keep numbers as numbers and dates as dates, and format them in cell. A value such as €1,200 is text.

The meta.assistant settings#

All four are optional.

SettingAcceptsWhat it does
typeAcceptsstring, number, date, dateTime, boolean, singleSelectWhat it doesWins over the type read from the rows.
descriptionAcceptstextWhat it doesUnits, abbreviations or meaning, sent with every question. Keep it short.
optionsAcceptsvalues, or { value, label }What it doesA singleSelect's choices. Users ask with the label; the table stores the value.
examplesAcceptsa list, or trueWhat it doesSample values. A list sends its first 20. true sends up to five distinct, non-empty values from the first 100 rows. Off unless you set it.

Without a type, the plugin reads the first 100 rows in the browser. All numbers make number, all booleans boolean, dates at midnight date, other dates dateTime, YYYY-MM-DD strings date, and strings that start with a date and a time, such as 2026-11-02T09:15 or 2026-11-02 09:15, dateTime. Anything mixed or unclear is string. A singleSelect is never inferred: set its type and its options. Options are sent only for a singleSelect, at most 500 of them, and a value or label longer than 255 characters is skipped.

What leaves your app#

With each question, the plugin sends:

SentWhy
The question, and additionalContext if you set itWhyTo answer it.
Each described column's id, header, type and descriptionWhyTo match words to columns.
examples, only where you set themWhyTo read values such as codes or names.
A singleSelect's optionsWhyTo match labels to stored values.
Which features are on, and which columns cannot be filtered, sorted or groupedWhySo an answer uses only what the table can do.
The current sorting and grouping, and the filters an earlier answer set, with their valuesWhySo a follow-up builds on the current view.
The conversation id, privateMode and referenceId if you set themWhyTo continue the conversation and apply your settings.

Your rows are not sent, apart from the examples you ask for and the options you list. Nor are cell renderers, header functions, display columns, the selected rows, the page, the expanded groups, or a search-box value. The question, the filters and the option lists can contain values from your data.

A hidden column is still described: column visibility is not a privacy control. To keep a column out, leave it out of the table's columns.

Keep a column out of an operation#

  • enableColumnFilter: false, enableSorting: false and enableGrouping: false each turn off one operation on that column. The assistant is told, and a question that needs it is declined.
  • A column with its own filterFn cannot be filtered by the assistant; one with its own sortFn cannot be sorted by it, unless the table uses manualSorting. The other operations stay available.

Keep the request small#

Every question carries the column descriptions, examples and options. A request over the size limits is refused with 413 context_too_large before the model and is not charged. Use short descriptions, list only the options users need, and leave examples off unless they help. The limits are in the reference.

Next#

  • Filtering
  • Controlled state
  • API reference