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. What users can ask
  2. How filters are written
  3. What the grid needs
  4. Operators by column type
  5. What is declined
  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

Filtering

On this page

  1. What users can ask
  2. How filters are written
  3. What the grid needs
  4. Operators by column type
  5. What is declined
  6. Next

Your users describe the rows they want, and the grid filters to them. Gridsay writes the grid's own filters: several conditions, ranges, relative dates, typos and other languages included.

What users can ask#

Ask

people in Germany or France earning over 100k

Changes2 changes
  1. 1filter country is any of Germany, France
  2. 2filter salary > 100000
Ask

who started last year?

Changes2 changes
  1. 1filter startDate on or after 2025-01-01
  2. 2filter startDate on or before 2025-12-31

Typos and other languages find their columns and values too:

Ask

directors in canda who startd before 2018

Changes3 changes
  1. 1filter title equals Director
  2. 2filter country equals Canada
  3. 3filter startDate before 2018-01-01

All three were recorded in MUI X Data Grid Premium 9.18.0 on the fast tier, on a sample table of 500 employees.

How filters are written#

  • Several values of one column become one isAnyOf filter. If the column does not allow isAnyOf, one equality per value, joined with "or".
  • A range ("between 80k and 120k", "last year") becomes two filters on the same column. Relative dates are read against today's date.
  • An exclusion ("everyone except Sales and Marketing") becomes one negative filter per value.
  • All filters share one join: "and", or "or" when any one condition is enough ("in Japan or earning over 190k").
  • Each answer is the whole new view. The grid replaces its filters with the answer's and clears the quick filter.

What the grid needs#

Filtering works on any column that has filter operators. These settings change what Gridsay may answer:

SettingWhereWith MUI's stock resolverWith the Gridsay helper
disableColumnFilterWhereGrid propWith MUI's stock resolverNot sent. Gridsay answers with filters and the grid ignores them.With the Gridsay helperSent. A question that needs a filter is declined.
filterable: falseWhereColumnWith MUI's stock resolverNot sent. The answer can filter that column, and the grid applies it.With the Gridsay helperSent. A filter on that column is declined.
filterOperatorsWhereColumnWith MUI's stock resolverSent as the column's allowed operators. Gridsay uses only those.With the Gridsay helperThe same.
valueOptions with a value and a labelWheresingleSelect columnWith MUI's stock resolverNot sent. One label works; a list of labels matches no rows.With the Gridsay helperSent. Gridsay writes the stored values.
examples, allowAiAssistantDataSamplingWhereColumn, grid propWith MUI's stock resolverSent: example values show how a column spells its values, such as "DE" rather than "Germany".With the Gridsay helperThe same.

Operators by column type#

Gridsay uses only the operators each column sends, including your own. These are MUI's defaults:

Column typeOperators
stringOperatorscontains, doesNotContain, equals, doesNotEqual, startsWith, endsWith, isEmpty, isNotEmpty, isAnyOf
numberOperators=, !=, >, >=, <, <=, isEmpty, isNotEmpty, isAnyOf
date, dateTimeOperatorsis, not, after, onOrAfter, before, onOrBefore, isEmpty, isNotEmpty
booleanOperatorsis
singleSelectOperatorsis, not, isAnyOf

What is declined#

Gridsay declines the whole question with one sentence, and the grid stays as it was. A filter compares one column with fixed values, so these cannot be written:

Ask

departments with more than 100 people

ChangesNo change
Refused

I can't filter on counts of people per department, since that would be a condition on an aggregate.

Your user reads this sentence. The table stays as it was.
Ask

people who earn more than their manager

ChangesNo change
Refused

I can't compare a person's salary with their manager's, because the grid has no manager column and cannot compare two columns.

Your user reads this sentence. The table stays as it was.
Ask

remote people in Germany, or office people in France

ChangesNo change
Refused

I can't apply alternatives where each side has several conditions, such as remote people in Germany or office people in France. Try asking for one side at a time.

Your user reads this sentence. The table stays as it was.

With the helper, a filter your grid does not allow is declined too. The sentence is the model's own. If an answer still uses the filter after one correction, the sentence is "Filtering is switched off for this table." or, naming the column, The `email` column can't be filtered.

Each declined question returns status 422 with the code query_not_understood, and is charged: see Refusals and errors.

Next#

  • Sorting
  • Follow-up questions
  • Using the helper