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. Manual modes at a glance
  2. Sort on your server
  3. Filtering is not translated
  4. Group on your server
  5. Paging and selection
  6. Undo
  7. 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

Server-side data

On this page

  1. Manual modes at a glance
  2. Sort on your server
  3. Filtering is not translated
  4. Group on your server
  5. Paging and selection
  6. Undo
  7. Next

When your server sorts or groups the rows, the plugin sets the table's sorting or grouping state and your code fetches the rows that match. Filtering stays in the browser.

Manual modes at a glance#

Table optionWhat the plugin doesWhat your code does
manualSorting: trueWhat the plugin doesSets sorting on sortable columns. No sortedRowModel or assistantSort needed.What your code doesFetches the rows in that order, across all pages.
manualGrouping: trueWhat the plugin doesSets grouping on groupable columns. No assistantGroupedRowModel() needed.What your code doesFetches and shows the groups.
manualFiltering: trueWhat the plugin doesTells Gridsay filtering is off; a filter question is declined.What your code doesKeeps its own filter controls.
manualPagination: trueWhat the plugin doesNothing: an answer never changes the page.What your code doesOwns the page and the fetching.

These are TanStack Table's own options.

Sort on your server#

Keep the sorting state in your component, pass it to your fetch, and give the same state to the table:

TSX
const [sorting, setSorting] = useState<SortingState>([]);const rows = useRows({ sorting });const table = useTable({  features, // tableFeatures({ rowSortingFeature }); no sortedRowModel required  columns,  data: rows,  manualSorting: true,  state: { sorting },  onSortingChange: setSorting,});const assistant = useTableAssistant(table, { url: '/api/tanstack-table' });

useRows stands for your own data hook, keyed by the sorting state. Ask newest first: the plugin sets the sorting, and your fetch returns the rows in that order.

  • Set the state at once; fetch after. The plugin waits up to one second for the table's state to show the answer. It does not wait for your fetch. When ask resolves true, the state has changed; the new rows may still be loading.
  • Sort the whole result, not only the page you have. Sorting one page does not sort the data.
  • Show loading and errors from your fetch yourself, and keep a slow old response from replacing a newer one.

Filtering is not translated#

The plugin's filters run in the browser. It does not turn them into a query for your server, so with manualFiltering it tells Gridsay filtering is off and a filter question is declined. A declined question is charged.

Do not pass the plugin's filter values to SQL, a search API or your access rules.

Group on your server#

With manualGrouping, an answer such as "group by status" sets the grouping state to the list of column ids, in order. Your server forms the groups and your table renders them. Manual grouping does not make totals, pivots or charts available.

Paging and selection#

  • An answer never changes the page. Whether a new sort or grouping sends the table back to the first page is TanStack's own autoResetPageIndex setting; with manualPagination, reset the page yourself if you need to.
  • Top-row selection reads only the rows the table holds. With paging on your server, it cannot select rows that are not loaded.

Undo#

Undo puts back the sorting or grouping state the last answer changed, then the page and the open groups. Your fetch must follow the restored state too: undo does not keep earlier pages of data. See Undo and reset.

Next#

  • Controlled state
  • Row selection
  • Filtering