Component

Data grid

<DomDataGrid>

A dense spreadsheet-like grid for database records, with typed column filters, sorting, row selection, and a server-query friendly API. We talk about databases, rendering pipelines, virtual DOMs, and scalable app architecture. But really, they just want Excel.

Demo

Database-style account table

Column filters use typed controls: date columns open a date range, number columns use min/max, select columns use checklist filters, and applied filters are visible in both the header and toolbar.

Customer accounts

15 of 24 accounts

Status: Active, TrialRenewal: 2026-07-01 to 2026-09-30
ABCDEFGHIJKL
#

Filter Account

Filter Status

Values

Filter Plan

Values

Filter Owner

Filter Seats

Filter ARR

Filter Health

Values

Filter Region

Values

Filter Renewal

Filter Active users

Filter Verified

Filter Updated

1Anchor CloudActiveEnterpriseSofia Jensen264£310,000StrongNA31 Jul 2026240Yes11 Jun 2026
2Orchid HealthActiveEnterpriseLaura Chen232£268,000StrongNA22 Sept 2026211Yes11 Jun 2026
3Forge RoboticsActiveEnterprisePriya Singh188£224,500StrongAPAC04 Sept 2026169Yes10 Jun 2026
4Mercury MediaActiveEnterpriseCaleb Stone176£201,300StrongNA09 Jul 2026151Yes09 Jun 2026
5Northstar AnalyticsActiveEnterpriseAmelia Hart142£184,000StrongEMEA19 Aug 2026118Yes10 Jun 2026
6Signal HarborActiveScaleNora Ellis96£112,900StrongEMEA02 Aug 202688Yes07 Jun 2026
7Atlas FinanceActiveScaleRavi Patel84£96,500WatchNA28 Jul 202662Yes08 Jun 2026
8Sable SecurityActiveScaleElena Rossi72£88,900StrongEMEA29 Sept 202670Yes02 Jun 2026
9Violet ManufacturingTrialScaleKai Foster58£65,400WatchAPAC24 Aug 202643No01 Jun 2026
10Summit GroceryActiveGrowthMaeve Walsh36£41,800StrongNA16 Sept 202634Yes06 Jun 2026
11Bluejay TravelTrialGrowthTara Lewis22£24,800WatchLATAM19 Jul 202617No04 Jun 2026
12Brightwell StudioTrialGrowthMina Okafor18£21,400StrongEMEA14 Sept 202616No09 Jun 2026
13Mosaic CivicActiveStarterGeorge White16£15,800StrongEMEA11 Sept 202615Yes10 Jun 2026
14Kite EducationTrialStarterOwen Price14£11,800StrongEMEA31 Aug 202613No06 Jun 2026
15Pioneer RetailTrialStarterMiles Brooks9£7,800WatchNA12 Jul 20266No03 Jun 2026
12 columns2 selected

Resource API shape

The grid can filter locally today, but the same query-change payload can be sent to a resource endpoint for SQL-backed search, where, order, and pagination later.

{
  "search": "",
  "filters": {
    "status": {
      "type": "select",
      "values": [
        "active",
        "trial"
      ]
    },
    "renewalDate": {
      "type": "date",
      "start": "2026-07-01",
      "end": "2026-09-30"
    }
  },
  "sort": {
    "key": "arr",
    "direction": "desc"
  }
}

Large memory

Virtual rows for in-memory data

Use virtualRows when a large local array is already in memory. The grid keeps the full 10,000-row data set available for client-side search, filters, and sort, while the isolated virtual row renderer mounts only the visible rows plus the configured buffer.

Usage events

10000 of 10000 events

ABCDEFGH
#

Filter Event

Filter Account

Filter Service

Values

Filter Status

Values

Filter Region

Values

Filter Requests

Filter Spend

Filter Updated

11Atlas Works 1Billing APIHealthyUK2,500£150.0001 Jan 2026
22Northstar Labs 1MailDelayedEU2,597£187.0002 Feb 2026
33Pioneer Health 1Billing APIQueuedUS2,694£224.0003 Mar 2026
44Evergreen Finance 1MailHealthyCA2,791£261.0004 Apr 2026
55Lunar Retail 1Billing APIHealthyAU2,888£298.0005 May 2026
66Cobalt Systems 1MailFailedUK2,985£335.0006 Jun 2026
77Atlas Works 2Billing APIHealthyEU3,082£372.0007 Jan 2026
88Northstar Labs 2MailDelayedUS3,179£409.0008 Feb 2026
99Pioneer Health 2Billing APIQueuedCA3,276£446.0009 Mar 2026
1010Evergreen Finance 2MailHealthyAU3,373£483.0010 Apr 2026
1111Lunar Retail 2Billing APIHealthyUK3,470£520.0011 May 2026
1212Cobalt Systems 2MailFailedEU3,567£557.0012 Jun 2026
1313Atlas Works 3Billing APIHealthyUS3,664£594.0013 Jan 2026
1414Northstar Labs 3MailDelayedCA3,761£631.0014 Feb 2026
1515Pioneer Health 3Billing APIQueuedAU3,858£668.0015 Mar 2026
1616Evergreen Finance 3MailHealthyUK3,955£705.0016 Apr 2026
1717Lunar Retail 3Billing APIHealthyEU4,052£742.0017 May 2026
1818Cobalt Systems 3MailFailedUS4,149£779.0018 Jun 2026
1919Atlas Works 4Billing APIHealthyCA4,246£816.0019 Jan 2026
2020Northstar Labs 4MailDelayedAU4,343£853.0020 Feb 2026
2121Pioneer Health 4Billing APIQueuedUK4,440£890.0021 Mar 2026
2222Evergreen Finance 4MailHealthyEU4,537£927.0022 Apr 2026
2323Lunar Retail 4Billing APIHealthyUS4,634£964.0023 May 2026
2424Cobalt Systems 4MailFailedCA4,731£1,00124 Jun 2026
2525Atlas Works 5Billing APIHealthyAU4,828£1,03825 Jan 2026
2626Northstar Labs 5MailDelayedUK4,925£1,07526 Feb 2026
2727Pioneer Health 5Billing APIQueuedEU5,022£1,11227 Mar 2026
2828Evergreen Finance 5MailHealthyUS5,119£1,14928 Apr 2026
2929Lunar Retail 5Billing APIHealthyCA5,216£1,18601 May 2026
3030Cobalt Systems 5MailFailedAU5,313£1,22302 Jun 2026
3131Atlas Works 6Billing APIHealthyUK5,410£1,26003 Jan 2026
3232Northstar Labs 6MailDelayedEU5,507£1,29704 Feb 2026
3333Pioneer Health 6Billing APIQueuedUS5,604£1,33405 Mar 2026
3434Evergreen Finance 6MailHealthyCA5,701£1,37106 Apr 2026
3535Lunar Retail 6Billing APIHealthyAU5,798£1,40807 May 2026
3636Cobalt Systems 6MailFailedUK5,895£1,44508 Jun 2026
3737Atlas Works 7Billing APIHealthyEU5,992£1,48209 Jan 2026
3838Northstar Labs 7MailDelayedUS6,089£1,51910 Feb 2026
3939Pioneer Health 7Billing APIQueuedCA6,186£1,55611 Mar 2026
4040Evergreen Finance 7MailHealthyAU6,283£1,59312 Apr 2026
4141Lunar Retail 7Billing APIHealthyUK6,380£1,63013 May 2026
4242Cobalt Systems 7MailFailedEU6,477£1,66714 Jun 2026
4343Atlas Works 8Billing APIHealthyUS6,574£1,70415 Jan 2026
4444Northstar Labs 8MailDelayedCA6,671£1,74116 Feb 2026
4545Pioneer Health 8Billing APIQueuedAU6,768£1,77817 Mar 2026
4646Evergreen Finance 8MailHealthyUK6,865£1,81518 Apr 2026
4747Lunar Retail 8Billing APIHealthyEU6,962£1,85219 May 2026
4848Cobalt Systems 8MailFailedUS7,059£1,88920 Jun 2026
4949Atlas Works 9Billing APIHealthyCA7,156£1,92621 Jan 2026
5050Northstar Labs 9MailDelayedAU7,253£1,96322 Feb 2026
5151Pioneer Health 9Billing APIQueuedUK7,350£2,00023 Mar 2026
8 columnsReady

Advanced sorting

Keyword table sort presets

Enable multiSort when header clicks should toggle ordered sort rules per column. Click Volume to add it, click Difficulty to add a second rule, and click a sorted header through asc, desc, and off.

Keyword opportunity sort

The selected preset sends ordered sort rules, so APIs can translate them to stable ORDER BY clauses.

Keyword research

10 of 10 keywords

ABCDEF
#

Filter Keyword

Filter Intent

Values

Filter Volume

Filter Difficulty

Filter Opportunity

Filter CPC

1vue data gridCommercial5,400283,942$5.40
2javascript spreadsheet componentComparison5,400433,132$7.10
3editable table vueCommercial2,900212,320$4.80
4tailwind data tableInformational8,100613,240$3.90
5server side data gridCommercial3,600352,376$8.20
6open source data grid vueComparison4,400243,388$4.60
7keyword clustering toolTransactional6,600483,498$6.70
8saas dashboard tableInformational1,900171,596$3.20
9best vue table libraryComparison5,400313,780$5.90
10crm data gridCommercial2,400191,968$9.40
6 columnsReady
{
  "search": "",
  "sort": {
    "key": "",
    "direction": "",
    "rules": []
  }
}

Remote data

Server pagination and forever scrolling

The same resource endpoint handles page-number navigation and cursor-based forever scrolling. The grid sends search, filters, and sort; pagination adds either page/pageSize or cursor/limit.

Remote customer resource

The grid asks for rows; the mock API applies search, filters, sort, and pagination.

Customers

0 of 0 customers from resource API

ABCDEFG
#

Filter Customer

Filter Status

Values

Filter Owner

Filter Region

Values

Filter Seats

Filter ARR

Filter Updated

No rows match the current filters.
7 columnsReady

Request

{
  "resource": "customers",
  "query": {
    "search": "",
    "filters": {},
    "sort": {
      "key": "updatedAt",
      "direction": "desc"
    }
  },
  "pagination": {
    "strategy": "page",
    "page": 1,
    "pageSize": 8
  }
}

Response

{
  "data": [],
  "pageInfo": {
    "strategy": "page",
    "page": 1,
    "pageSize": 8,
    "pageCount": 1,
    "total": 0,
    "hasNextPage": false,
    "hasPreviousPage": false,
    "nextCursor": ""
  },
  "meta": {
    "total": 0,
    "returned": 0
  }
}

Live data

SQL query log with duration ordering

A live developer query-log surface that treats the grid as a server-backed resource: new query rows stream into the buffer, search and typed filters update the resource query, and duration_ms desc exposes the slowest statements first.

Live query log 4-9/sec Last event 11:50:57

Buffered

140

P95 duration

966 ms

Slow queries

32

Errors

4

SQL log

80 of 140 queries from resource API

#

Filter Database

Values

Filter Service

Values

Filter Verb

Values

Filter Table

Values

Filter Duration ms

Filter Lock wait

Filter Rows examined

Filter Status

Values

Filter Plan

Values

Filter Endpoint

Filter SQL statement

111:48:54BillingBilling syncUPDATEaudit_events1749 ms66 ms731SlowIndex scanstripe:updateupdate audit_events set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
211:49:09Primary writerWorkerUPDATEinvoices1398 ms195 ms632SlowIndex scanjob:invoices:syncupdate invoices set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
311:44:26AnalyticsBilling syncSELECTwebsite_pages1338 ms0 ms130,334SlowSeq scanstripe:selectselect * from website_pages where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
411:44:54BillingReportingUPDATEaccounts1336 ms496 ms361SlowNested loop/reports/accountsupdate accounts set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
511:43:48Primary writerBilling syncUPDATEaccounts1117 ms95 ms1,157SlowIndex scanstripe:updateupdate accounts set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
611:48:12Primary writerApp APISELECTwebsite_pages988 ms471 ms99,856SlowSeq scan/api/website_pagesselect * from website_pages where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
711:44:37Read replicaApp APIUPDATEusers966 ms0 ms1,040SlowIndex scan/api/usersupdate users set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
811:43:38Read replicaWorkerSELECTaccounts966 ms143 ms304,156SlowSeq scanjob:accounts:syncselect * from accounts where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
911:49:57Read replicaReportingSELECTsessions911 ms293 ms248,335SlowSeq scan/reports/sessionsselect * from sessions where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
1011:46:41AnalyticsWebhookSELECTorganisations883 ms0 ms163,019SlowSeq scan/webhooks/organisationsselect * from organisations where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
1111:43:40Primary writerWorkerSELECTsessions827 ms0 ms656,218SlowSeq scanjob:sessions:syncselect * from sessions where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
1211:50:08AnalyticsBilling syncSELECTjobs778 ms0 ms384,063SlowSeq scanstripe:selectselect * from jobs where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
1311:48:07BillingReportingINSERTwebsite_pages776 ms421 ms705SlowIndex scan/reports/website_pagesinsert into website_pages (organisation_id, payload, created_at) values (?, ?, now()) returning id
1411:48:19Primary writerWebhookUPDATEusers700 ms0 ms218SlowNested loop/webhooks/usersupdate users set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
1511:43:29Read replicaReportingSELECTbilling_events570 ms0 ms365,953SlowSeq scan/reports/billing_eventsselect * from billing_events where organisation_id = ? and lower(search_text) like ? order by updated_at desc limit 100
1611:42:23Read replicaBilling syncUPDATEorganisations503 ms9 ms214SlowNested loopstripe:updateupdate organisations set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
1711:47:37Primary writerBilling syncUPDATEwebsite_pages385 ms19 ms1,170SlowNested loopstripe:updateupdate website_pages set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
1811:45:50Read replicaWebhookINSERTorganisations317 ms142 ms11SlowIndex scan/webhooks/organisationsinsert into organisations (organisation_id, payload, created_at) values (?, ?, now()) returning id
1911:48:13Read replicaBilling syncINSERTusers316 ms0 ms274SlowIndex scanstripe:insertinsert into users (organisation_id, payload, created_at) values (?, ?, now()) returning id
2011:46:54Read replicaReportingDELETEjobs314 ms0 ms865SlowIndex scan/reports/jobsdelete from jobs where organisation_id = ? and archived_at < now() - interval '90 days'
2111:45:46Primary writerWebhookUPDATEfeature_flags313 ms119 ms833SlowNested loop/webhooks/feature_flagsupdate feature_flags set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
2211:42:35AnalyticsWebhookUPDATEcontent_items304 ms0 ms107SlowIndex scan/webhooks/content_itemsupdate content_items set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
2311:50:04Read replicaWebhookINSERTusers301 ms67 ms653SlowIndex scan/webhooks/usersinsert into users (organisation_id, payload, created_at) values (?, ?, now()) returning id
2411:45:03Read replicaBilling syncINSERTjobs291 ms0 ms237SlowIndex scanstripe:insertinsert into jobs (organisation_id, payload, created_at) values (?, ?, now()) returning id
2511:41:06Primary writerWorkerDELETEwebsite_pages289 ms0 ms62SlowIndex scanjob:website_pages:syncdelete from website_pages where organisation_id = ? and archived_at < now() - interval '90 days'
2611:49:55BillingBilling syncUPDATEsessions283 ms0 ms1,060SlowNested loopstripe:updateupdate sessions set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
2711:45:30BillingBilling syncUPDATEinvoices280 ms139 ms92SlowIndex scanstripe:updateupdate invoices set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
2811:49:08Primary writerReportingINSERTjobs277 ms68 ms689SlowIndex scan/reports/jobsinsert into jobs (organisation_id, payload, created_at) values (?, ?, now()) returning id
2911:43:40BillingReportingUPDATEorganisations274 ms0 ms320SlowIndex scan/reports/organisationsupdate organisations set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
3011:47:40Primary writerWorkerUPDATEorganisations267 ms127 ms802SlowIndex scanjob:organisations:syncupdate organisations set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
3111:47:30Read replicaReportingINSERTorganisations263 ms0 ms471SlowIndex scan/reports/organisationsinsert into organisations (organisation_id, payload, created_at) values (?, ?, now()) returning id
3211:47:49AnalyticsReportingUPDATEbilling_events250 ms0 ms1,110SlowIndex scan/reports/billing_eventsupdate billing_events set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
3311:49:13AnalyticsWebhookINSERTbilling_events219 ms0 ms145OKIndex scan/webhooks/billing_eventsinsert into billing_events (organisation_id, payload, created_at) values (?, ?, now()) returning id
3411:48:37BillingReportingINSERTbilling_events207 ms0 ms1,139OKNested loop/reports/billing_eventsinsert into billing_events (organisation_id, payload, created_at) values (?, ?, now()) returning id
3511:44:00Primary writerBilling syncDELETEaccounts199 ms0 ms687OKIndex scanstripe:deletedelete from accounts where organisation_id = ? and archived_at < now() - interval '90 days'
3611:48:57BillingWebhookDELETEaudit_events196 ms41 ms179OKIndex scan/webhooks/audit_eventsdelete from audit_events where organisation_id = ? and archived_at < now() - interval '90 days'
3711:46:30AnalyticsApp APIINSERTsessions195 ms85 ms953OKIndex scan/api/sessionsinsert into sessions (organisation_id, payload, created_at) values (?, ?, now()) returning id
3811:46:13Read replicaBilling syncUPDATEjobs191 ms0 ms423OKNested loopstripe:updateupdate jobs set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
3911:50:29AnalyticsApp APISELECTusers188 ms0 ms4,165OKIndex scan/api/usersselect id, organisation_id, status, updated_at from users where organisation_id = ? and id = ? limit 1
4011:46:10BillingWorkerUPDATEwebsite_pages186 ms91 ms1,015OKIndex scanjob:website_pages:syncupdate website_pages set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
4111:48:48Primary writerBilling syncSELECTinvoices185 ms0 ms4,928ErrorIndex scanstripe:selectselect id, organisation_id, status, updated_at from invoices where organisation_id = ? and id = ? limit 1
4211:47:33Primary writerApp APIUPDATEsessions181 ms0 ms479OKIndex scan/api/sessionsupdate sessions set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
4311:40:52BillingBilling syncSELECTwebsite_pages181 ms0 ms6,404OKIndex scanstripe:selectselect id, organisation_id, status, updated_at from website_pages where organisation_id = ? and id = ? limit 1
4411:45:48AnalyticsBilling syncUPDATEaccounts176 ms0 ms736OKIndex scanstripe:updateupdate accounts set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
4511:49:26BillingBilling syncSELECTsessions174 ms0 ms644OKIndex scanstripe:selectselect id, organisation_id, status, updated_at from sessions where organisation_id = ? and id = ? limit 1
4611:50:51Primary writerWorkerSELECTaccounts172 ms0 ms5,160OKIndex scanjob:accounts:syncselect id, organisation_id, status, updated_at from accounts where organisation_id = ? and id = ? limit 1
4711:49:19BillingWebhookSELECTaccounts168 ms0 ms5,998ErrorIndex scan/webhooks/accountsselect id, organisation_id, status, updated_at from accounts where organisation_id = ? and id = ? limit 1
4811:49:17Primary writerWebhookSELECTjobs168 ms0 ms797OKIndex scan/webhooks/jobsselect id, organisation_id, status, updated_at from jobs where organisation_id = ? and id = ? limit 1
4911:48:09BillingBilling syncSELECTusers168 ms0 ms3,118OKIndex scanstripe:selectselect id, organisation_id, status, updated_at from users where organisation_id = ? and id = ? limit 1
5011:46:39BillingReportingSELECTinvoices168 ms0 ms6,566OKIndex scan/reports/invoicesselect id, organisation_id, status, updated_at from invoices where organisation_id = ? and id = ? limit 1
5111:49:49AnalyticsWebhookUPDATEjobs167 ms24 ms204OKIndex scan/webhooks/jobsupdate jobs set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
5211:48:53AnalyticsBilling syncSELECTfeature_flags167 ms0 ms2,337OKIndex scanstripe:selectselect id, organisation_id, status, updated_at from feature_flags where organisation_id = ? and id = ? limit 1
5311:48:35Primary writerWorkerSELECTbilling_events166 ms0 ms6,939OKIndex scanjob:billing_events:syncselect id, organisation_id, status, updated_at from billing_events where organisation_id = ? and id = ? limit 1
5411:49:45Primary writerApp APIINSERTusers162 ms0 ms402OKIndex scan/api/usersinsert into users (organisation_id, payload, created_at) values (?, ?, now()) returning id
5511:48:38Read replicaBilling syncINSERTsessions160 ms0 ms956OKIndex scanstripe:insertinsert into sessions (organisation_id, payload, created_at) values (?, ?, now()) returning id
5611:41:56Primary writerWebhookSELECTaccounts160 ms0 ms1,224OKIndex scan/webhooks/accountsselect id, organisation_id, status, updated_at from accounts where organisation_id = ? and id = ? limit 1
5711:46:02AnalyticsWebhookINSERTaccounts154 ms17 ms709OKIndex scan/webhooks/accountsinsert into accounts (organisation_id, payload, created_at) values (?, ?, now()) returning id
5811:49:20BillingBilling syncSELECTjobs153 ms0 ms6,144OKIndex scanstripe:selectselect id, organisation_id, status, updated_at from jobs where organisation_id = ? and id = ? limit 1
5911:44:56AnalyticsReportingSELECTaudit_events149 ms0 ms912OKIndex scan/reports/audit_eventsselect id, organisation_id, status, updated_at from audit_events where organisation_id = ? and id = ? limit 1
6011:45:18Read replicaWorkerDELETEaudit_events145 ms0 ms372OKIndex scanjob:audit_events:syncdelete from audit_events where organisation_id = ? and archived_at < now() - interval '90 days'
6111:50:37Read replicaWebhookINSERTjobs144 ms0 ms662OKIndex scan/webhooks/jobsinsert into jobs (organisation_id, payload, created_at) values (?, ?, now()) returning id
6211:48:34AnalyticsReportingSELECTaccounts144 ms0 ms5,928OKIndex scan/reports/accountsselect id, organisation_id, status, updated_at from accounts where organisation_id = ? and id = ? limit 1
6311:42:51Read replicaWorkerSELECTaudit_events144 ms0 ms3,014OKIndex scanjob:audit_events:syncselect id, organisation_id, status, updated_at from audit_events where organisation_id = ? and id = ? limit 1
6411:47:34AnalyticsBilling syncUPDATEorganisations142 ms41 ms217OKIndex scanstripe:updateupdate organisations set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
6511:45:28Primary writerBilling syncSELECTaudit_events142 ms0 ms7,828OKIndex scanstripe:selectselect id, organisation_id, status, updated_at from audit_events where organisation_id = ? and id = ? limit 1
6611:45:28BillingApp APISELECTbilling_events142 ms0 ms5,691OKIndex scan/api/billing_eventsselect id, organisation_id, status, updated_at from billing_events where organisation_id = ? and id = ? limit 1
6711:43:28AnalyticsReportingSELECTfeature_flags137 ms0 ms8,976OKIndex scan/reports/feature_flagsselect id, organisation_id, status, updated_at from feature_flags where organisation_id = ? and id = ? limit 1
6811:48:30BillingWebhookSELECTusers133 ms0 ms4,874OKIndex scan/webhooks/usersselect id, organisation_id, status, updated_at from users where organisation_id = ? and id = ? limit 1
6911:42:33Primary writerReportingSELECTaudit_events133 ms0 ms9,328OKIndex scan/reports/audit_eventsselect id, organisation_id, status, updated_at from audit_events where organisation_id = ? and id = ? limit 1
7011:50:15AnalyticsApp APIINSERTbilling_events131 ms0 ms350OKIndex scan/api/billing_eventsinsert into billing_events (organisation_id, payload, created_at) values (?, ?, now()) returning id
7111:49:46AnalyticsWorkerINSERTfeature_flags130 ms0 ms698OKNested loopjob:feature_flags:syncinsert into feature_flags (organisation_id, payload, created_at) values (?, ?, now()) returning id
7211:41:02Primary writerReportingSELECTcontent_items129 ms0 ms638OKIndex scan/reports/content_itemsselect id, organisation_id, status, updated_at from content_items where organisation_id = ? and id = ? limit 1
7311:49:17BillingWorkerSELECTsessions127 ms0 ms6,213OKIndex scanjob:sessions:syncselect id, organisation_id, status, updated_at from sessions where organisation_id = ? and id = ? limit 1
7411:43:12Primary writerWebhookSELECTcontent_items127 ms0 ms4,496OKIndex scan/webhooks/content_itemsselect id, organisation_id, status, updated_at from content_items where organisation_id = ? and id = ? limit 1
7511:50:01BillingWorkerUPDATEinvoices116 ms0 ms605OKIndex scanjob:invoices:syncupdate invoices set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
7611:49:51AnalyticsBilling syncSELECTjobs116 ms0 ms1,118OKIndex scanstripe:selectselect id, organisation_id, status, updated_at from jobs where organisation_id = ? and id = ? limit 1
7711:48:15Primary writerReportingSELECTaccounts116 ms0 ms1,782OKIndex scan/reports/accountsselect id, organisation_id, status, updated_at from accounts where organisation_id = ? and id = ? limit 1
7811:50:27Read replicaWebhookUPDATEbilling_events114 ms0 ms406OKIndex scan/webhooks/billing_eventsupdate billing_events set updated_at = now(), metadata = jsonb_set(metadata, ?, ?) where organisation_id = ? and id = ?
7911:50:05Primary writerApp APISELECTjobs114 ms0 ms6,898OKIndex scan/api/jobsselect id, organisation_id, status, updated_at from jobs where organisation_id = ? and id = ? limit 1
8011:49:32AnalyticsReportingSELECTcontent_items114 ms0 ms5,062OKIndex scan/reports/content_itemsselect id, organisation_id, status, updated_at from content_items where organisation_id = ? and id = ? limit 1
12 columnsReady

SQL generated from grid state

select
	id, started_at, database_name, service_name, operation, table_name,
	duration_ms, lock_wait_ms, rows_examined, status, plan, endpoint, statement
from observability.query_log
order by duration_ms DESC
limit 80;

Request

{
  "resource": "observability.query_log",
  "query": {
    "search": "",
    "filters": {},
    "sort": {
      "key": "durationMs",
      "direction": "desc",
      "rules": [
        {
          "key": "durationMs",
          "direction": "desc"
        }
      ]
    }
  },
  "pagination": {
    "strategy": "live-window",
    "limit": 80,
    "buffered": 140
  }
}

Response window

{
  "returned": 80,
  "total": 140,
  "buffered": 140,
  "lastUpdatedAt": "11:50:57"
}

Custom cells

Column components and row actions

Set column.component to a Vue component. The component receives row, column, value, formatted, rowIndex, and rowKey. Display-only columns such as actions still use a stable key, but do not need a matching row property.

Team members

6 of 6 users

Filter User

Filter Team

Filter Status

Values

Filter Last active

ProductPending17 Jun 2026
EngineeringActive16 Jun 2026
DesignActive12 Jun 2026
SupportPaused08 Jun 2026
OperationsPending06 Jun 2026
SalesActive04 Jun 2026
5 columnsReady

EditNameCell.vue

EditNameCell.vuevue

RowActionsCell.vue

RowActionsCell.vuevue

Architecture

Resource query API

The component filters client-side by default so it works immediately with local rows. Set remote when the grid should render API results exactly as supplied and use query-change to request a SQL-backed resource. Keep pagination beside the grid query so the same endpoint can support numbered pages, previous/next controls, and cursor-fed scrolling.

Use virtualRows when rows are already held in memory but the DOM should stay small. It swaps the table body to a dedicated virtual row renderer, using virtualRowBuffer to keep extra rows mounted above and below the viewport.

For custom rendering, add component to a column definition. The column key is the stable column id; set field when the component should read a different row property, or omit it for display-only columns such as row actions.

Column definitions are the contract. A date column gets a date-range filter, numeric columns get min/max, boolean columns get a yes/no segmented control, and select columns can render known options from the resource schema. Set filterable: false on display-only or operational columns so they stay out of the filter UI and resource query.

For more complex ordering, pass sort.rules as an ordered array, or enable multiSort so header clicks build that array interactively. A keyword table can send searchVolume desc followed by difficulty asc, and a resource API can translate that directly to a multi-column ORDER BY.

resource-query-api.jsjs

Reference

Props

Control props

NameTypeTSDefaultDescription
rowsarrayArray<unknown>[]Rows to render. Each row should be a plain object from an API, store, or database result.
columnsarrayArray<DataGridColumn
type DataGridColumn = {
	key: string; // Stable column id. It can match a row property, or identify a display-only column such as actions.
	field?: string; // Row property to read when it differs from key.
	label?: string; // Header label.
	type?: 'text' | 'number' | 'date' | 'boolean' | 'select' | 'currency'; // Column data type. Drives sorting, formatting, and filter controls.
	width?: string | number; // CSS width for the column.
	align?: 'left' | 'center' | 'right'; // Cell alignment.
	component?: object | Function | string; // Vue component used to render cells in this column. Receives row, column, value, formatted, rowIndex, and rowKey props.
	resizable?: boolean; // Set false to disable drag resizing for this column.
	sortable?: boolean; // Set false to disable sorting.
	filterable?: boolean; // Set false to disable filtering for this column, hide the filter button, and omit the column from query filters.
	searchable?: boolean; // Set false to remove the column from global search.
	options?: Array<string | number | boolean | object>; // Select filter options. Objects may include label, value, and tone.
	currency?: string; // Currency code for currency columns.
	accessor?: Function; // Function that receives a row and returns the cell value.
	sortAccessor?: Function; // Function that receives a row and column and returns the value used for local sorting.
	format?: Function; // Function that receives value, row, and column and returns display text.
};
>
[]Column definitions. Each type chooses its own sorting, formatting, and filter controls.
rowKeystring | functionstring'id'Field name or function used to identify each row.
filtersobjectRecord<string, unknown>{}Controlled filter map keyed by column key.
sortobject | arrayArray<unknown>{"key":"","direction":""}Controlled sort state as { key, direction }, or { rules } for multi-column and computed sorting.
multiSortbooleanbooleanfalseWhen true, header clicks toggle each sortable column inside an ordered sort.rules array.
searchstringstring''Global search text.
selectedKeysarrayArray<unknown>[]Selected row keys.
remotebooleanbooleanfalseWhen true, rows render as supplied and query-change can drive a server/API request.
loadingbooleanbooleanfalseShow a loading row while server data is being fetched.
virtualRowsbooleanbooleanfalseRender large in-memory row sets through the isolated virtual row renderer.
virtualRowBuffernumbernumber50Rows kept mounted above and below the visible viewport when virtualRows is true.
virtualRowHeightnumbernumberFixed row height in pixels for virtual row calculations. Defaults to the grid density.
selectablebooleanbooleantrueShow row selection checkboxes.
showRowNumbersbooleanbooleantrueShow spreadsheet-style row numbers.
showColumnLettersbooleanbooleantrueShow spreadsheet-style column letters above headers.
stickyHeaderbooleanbooleantrueKeep header rows visible while the grid scrolls.
resizableColumnsbooleanbooleantrueAllow users to drag header dividers to resize columns.
minColumnWidthnumbernumber40Minimum column width in pixels while resizing. The default leaves room for the filter icon.
toolbarbooleanbooleantrueShow the title, search box, filter chips, and row count toolbar.
titlestringstring'Data grid'Toolbar title.
resourceLabelstringstring'rows'Human label for the resource being rendered.
totalRowsnumbernumberServer-side total row count when remote is true.
density'compact' | 'comfortable'string'compact'Row height density.
heightstring | numberstring'34rem'Scrollable grid height as a CSS size or pixel number.
emptyTextstringstring'No rows match the current filters.'Message shown when no rows are visible.

Auto-generated from Data grid.props and inline _edit hints.

Events

NamePayloadDescription
@update:filtersRecord<string, DataGridFilter>Fired when a column filter is applied or cleared.
@filter-change(payload
payload: unknown;
: unknown)
@update:sortDataGridSortFired when column sorting changes. Complex sort values may include an ordered rules array.
@sort-change(payload
payload: unknown;
: unknown)
@update:searchstringFired when the toolbar search changes.
@query-changeDataGridQueryFired with the normalized search, filters, and sort state. Use this to call a resource API.
@viewport-scroll{ scrollTop, scrollHeight, clientHeight, remaining, atEnd }Fired when the scrollable row viewport scrolls.
@viewport-end{ scrollTop, scrollHeight, clientHeight, remaining, atEnd }Fired when the scrollable row viewport reaches the bottom threshold. Useful for cursor pagination and infinite loading.
@cell-update({ row, column, rowIndex, rowKey, value, previousValue })Re-emitted when a column component emits update:value.
@cell-action({ row, column, rowIndex, rowKey, value, formatted, action, payload })Re-emitted when a column component emits action.
@column-resize({ column, key, width, previousWidth, startWidth })Fired while a header divider is dragged and a column width changes.
@column-resize-end({ column, key, width, previousWidth, startWidth })Fired when the user finishes resizing a column.
@render-window-change({ startIndex, endIndex, renderedRows, totalRows, firstVisibleIndex, lastVisibleIndex })Fired by the virtual row renderer when the mounted row window changes.
@update:selectedKeysArray<string | number>Fired when row selection changes.
@selection-change(payload
payload: unknown;
: unknown)
@row-click({ row, index })Fired when a data row is clicked.

Names auto-detected from defineEmits and source emit() calls; payload and description from __doc.events when present.

Slots

NameScopeDescription
#cell{ row, column, value, formatted, rowIndex, rowKey }Custom cell renderer.
#toolbar-actions{ query, clearFilters }Extra controls rendered next to search and Clear filters.
#emptyCustom empty state.