[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-tanstack-aggregation":3,"mdc--rzd7m5-key":50,"related-repo-tanstack-aggregation":1559,"related-org-tanstack-aggregation":1639},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":45,"sourceUrl":48,"mdContent":49},"aggregation","perform data aggregation in TanStack Table","Aggregate TanStack Table columns independently of grouping, including grand totals, caller-selected row totals, multiple keyed aggregations, custom context-based definitions, grouped merges, manual values, and worker constraints.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"tanstack","TanStack","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftanstack.png",[12,16,17],{"name":13,"slug":14,"type":15},"Data Analysis","data-analysis","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Frontend","frontend",28175,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Ftable","2026-07-30T05:25:59.429787",null,3539,[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"datagrid","datagrids","datatable","filtering","grid","grouping","hooks","javascript","pagination","react","reactjs","solid","solidjs","sorting","svelte","sveltejs","table","typescript","vue",{"repoUrl":21,"stars":20,"forks":24,"topics":46,"description":47},[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"🤖 Headless UI for building powerful tables & datagrids for TS\u002FJS -  React-Table, Vue-Table, Solid-Table, Svelte-Table","https:\u002F\u002Fgithub.com\u002FTanStack\u002Ftable\u002Ftree\u002FHEAD\u002Fpackages\u002Ftable-core\u002Fskills\u002Faggregation","---\nname: aggregation\ndescription: >\n  Aggregate TanStack Table columns independently of grouping, including grand totals, caller-selected row totals, multiple keyed aggregations, custom context-based definitions, grouped merges, manual values, and worker constraints.\nmetadata:\n  {\n    type: sub-skill,\n    library: '@tanstack\u002Ftable-core',\n    library_version: '9.0.0-beta.59',\n  }\nrequires: ['core', 'table-features']\nsources:\n  - 'TanStack\u002Ftable:docs\u002Fguide\u002Faggregation.md'\n  - 'TanStack\u002Ftable:docs\u002Fframework\u002Freact\u002Fguide\u002Faggregation.md'\n  - 'TanStack\u002Ftable:packages\u002Ftable-core\u002Fsrc\u002Ffeatures\u002Frow-aggregation'\n  - 'TanStack\u002Ftable:examples\u002Freact\u002Faggregation'\n  - 'TanStack\u002Ftable:examples\u002Freact\u002Fgrouped-aggregation'\n---\n\nThis skill builds on `core` and `table-features`. Aggregation is independent\nfrom grouping: use it alone for totals, or combine it with the `grouping` skill\nfor synthetic grouped rows.\n\n## Setup\n\n\u003C!-- skill-snippet:check -->\n\n```ts\nimport {\n  rowAggregationFeature,\n  aggregationFn_mean,\n  aggregationFn_sum,\n  tableFeatures,\n} from '@tanstack\u002Ftable-core'\n\nexport const features = tableFeatures({\n  rowAggregationFeature,\n  aggregationFns: {\n    mean: aggregationFn_mean,\n    sum: aggregationFn_sum,\n  },\n})\n```\n\n## Core Patterns\n\n### Grand total and selected row scopes\n\n```ts\nconst grandTotal = salaryColumn.getAggregationValue()\nconst filteredTotal = salaryColumn.getAggregationValue({\n  rows: table.getFilteredRowModel().rows,\n})\nconst childTotal = salaryColumn.getAggregationValue({\n  rows: table.getCoreRowModel().rows,\n  maxDepth: 1,\n})\n```\n\nThe default uses the pre-grouped row model. Explicit rows can come from any row\nmodel or caller-selected subset. `maxAggregationDepth` defaults to `0`, which\nselects the supplied roots; `1` selects direct sub-rows, and `Infinity` selects\nterminal rows. Branches that end early contribute their deepest available row.\nDefault calls are cached; explicit-row calls intentionally are not because array\nidentity and contents are caller-owned. `table.getMaxSubRowDepth()` returns the\ndeepest structural depth in the core row model.\n\n### Multiple aggregations\n\n```ts\ncolumnHelper.accessor('salary', {\n  aggregationFn: ['mean', { id: 'range', aggregationFn: 'extent' }],\n})\n\nconst value = salaryColumn.getAggregationValue\u003C{\n  mean: number\n  range: [number, number]\n}>()\n```\n\nA scalar option returns a scalar. An array returns a keyed object. Named\nfunctions use their registry name; descriptors provide a stable `id`, which is\nrequired for inline definitions in an array.\n\n### Custom definitions\n\n```ts\nconst weightedMean = constructAggregationFn({\n  aggregate: ({ rows, getValue }) => {\n    const total = rows.reduce((sum, row) => sum + Number(getValue(row)), 0)\n    return rows.length ? total \u002F rows.length : undefined\n  },\n})\n```\n\nThe context provides depth-selected `rows`, `maxDepth`, `getValue`, `column`,\n`columnId`, `table`, and optional grouped-only `groupingRow` and `subRows`.\nEvery aggregation configured on a column receives the same row frontier. Add\n`merge({ subRowResults, subRows, ...context })` when nested groups can more\nefficiently combine already-computed sub-row results; otherwise the engine calls\n`aggregate` with both row sets. `subRowResults[i]` corresponds to `subRows[i]`.\n\n### Manual or remote values\n\nSet a column definition's `getAggregationValue(context)` to return `{ value }`\nfor requests handled by a server or another execution environment. Returning\n`undefined` falls back to the local definition. `manualAggregation: true`\ndisables that local fallback.\n\n## Common Mistakes\n\n### [HIGH] Adding grouping for a grand total\n\nWrong: registering `columnGroupingFeature` solely to total a column.\n\nCorrect: register `rowAggregationFeature` and call\n`column.getAggregationValue()`. Grouping is only required for grouped rows.\n\n### [HIGH] Passing a scope label and rows\n\nThere is no scope option. Call `getAggregationValue()` for the cached default,\nor pass a single options object containing rows from the desired row model and\n`maxDepth` when the desired frontier is below those rows.\n\n### [HIGH] Reusing the legacy callable signature\n\nWrong: `(columnId, leafRows, childRows) => result`.\n\nCorrect: `constructAggregationFn({ aggregate: ({ rows, subRows, getValue }) => result })`.\n\n### [MEDIUM] Assuming arbitrary totals run in the worker\n\nThe experimental worker computes grouped row-model aggregates. Public\n`getAggregationValue(options?)` totals execute on the main thread, and custom\ngrouped results sent by the worker must be structured-cloneable.\n\n## API Discovery\n\nInspect `node_modules\u002F@tanstack\u002Ftable-core\u002Fdist\u002Ffeatures\u002Frow-aggregation\u002F` and the\nAggregation Guide. Use `Column_RowAggregation`, `AggregationFnDef`,\n`AggregationContext`, and `AggregationResult` for the typed public surface.\n",{"data":51,"body":65},{"name":4,"description":6,"metadata":52,"requires":56,"sources":59},{"type":53,"library":54,"library_version":55},"sub-skill","@tanstack\u002Ftable-core","9.0.0-beta.59",[57,58],"core","table-features",[60,61,62,63,64],"TanStack\u002Ftable:docs\u002Fguide\u002Faggregation.md","TanStack\u002Ftable:docs\u002Fframework\u002Freact\u002Fguide\u002Faggregation.md","TanStack\u002Ftable:packages\u002Ftable-core\u002Fsrc\u002Ffeatures\u002Frow-aggregation","TanStack\u002Ftable:examples\u002Freact\u002Faggregation","TanStack\u002Ftable:examples\u002Freact\u002Fgrouped-aggregation",{"type":66,"children":67},"root",[68,98,105,365,371,378,622,667,673,941,954,960,1230,1322,1328,1365,1371,1382,1395,1416,1426,1446,1456,1468,1480,1491,1504,1510,1553],{"type":69,"tag":70,"props":71,"children":72},"element","p",{},[73,76,82,84,89,91,96],{"type":74,"value":75},"text","This skill builds on ",{"type":69,"tag":77,"props":78,"children":80},"code",{"className":79},[],[81],{"type":74,"value":57},{"type":74,"value":83}," and ",{"type":69,"tag":77,"props":85,"children":87},{"className":86},[],[88],{"type":74,"value":58},{"type":74,"value":90},". Aggregation is independent\nfrom grouping: use it alone for totals, or combine it with the ",{"type":69,"tag":77,"props":92,"children":94},{"className":93},[],[95],{"type":74,"value":31},{"type":74,"value":97}," skill\nfor synthetic grouped rows.",{"type":69,"tag":99,"props":100,"children":102},"h2",{"id":101},"setup",[103],{"type":74,"value":104},"Setup",{"type":69,"tag":106,"props":107,"children":112},"pre",{"className":108,"code":109,"language":110,"meta":111,"style":111},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import {\n  rowAggregationFeature,\n  aggregationFn_mean,\n  aggregationFn_sum,\n  tableFeatures,\n} from '@tanstack\u002Ftable-core'\n\nexport const features = tableFeatures({\n  rowAggregationFeature,\n  aggregationFns: {\n    mean: aggregationFn_mean,\n    sum: aggregationFn_sum,\n  },\n})\n","ts","",[113],{"type":69,"tag":77,"props":114,"children":115},{"__ignoreMap":111},[116,134,149,162,175,188,217,227,268,280,299,321,343,352],{"type":69,"tag":117,"props":118,"children":121},"span",{"class":119,"line":120},"line",1,[122,128],{"type":69,"tag":117,"props":123,"children":125},{"style":124},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[126],{"type":74,"value":127},"import",{"type":69,"tag":117,"props":129,"children":131},{"style":130},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[132],{"type":74,"value":133}," {\n",{"type":69,"tag":117,"props":135,"children":137},{"class":119,"line":136},2,[138,144],{"type":69,"tag":117,"props":139,"children":141},{"style":140},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[142],{"type":74,"value":143},"  rowAggregationFeature",{"type":69,"tag":117,"props":145,"children":146},{"style":130},[147],{"type":74,"value":148},",\n",{"type":69,"tag":117,"props":150,"children":152},{"class":119,"line":151},3,[153,158],{"type":69,"tag":117,"props":154,"children":155},{"style":140},[156],{"type":74,"value":157},"  aggregationFn_mean",{"type":69,"tag":117,"props":159,"children":160},{"style":130},[161],{"type":74,"value":148},{"type":69,"tag":117,"props":163,"children":165},{"class":119,"line":164},4,[166,171],{"type":69,"tag":117,"props":167,"children":168},{"style":140},[169],{"type":74,"value":170},"  aggregationFn_sum",{"type":69,"tag":117,"props":172,"children":173},{"style":130},[174],{"type":74,"value":148},{"type":69,"tag":117,"props":176,"children":178},{"class":119,"line":177},5,[179,184],{"type":69,"tag":117,"props":180,"children":181},{"style":140},[182],{"type":74,"value":183},"  tableFeatures",{"type":69,"tag":117,"props":185,"children":186},{"style":130},[187],{"type":74,"value":148},{"type":69,"tag":117,"props":189,"children":191},{"class":119,"line":190},6,[192,197,202,207,212],{"type":69,"tag":117,"props":193,"children":194},{"style":130},[195],{"type":74,"value":196},"}",{"type":69,"tag":117,"props":198,"children":199},{"style":124},[200],{"type":74,"value":201}," from",{"type":69,"tag":117,"props":203,"children":204},{"style":130},[205],{"type":74,"value":206}," '",{"type":69,"tag":117,"props":208,"children":210},{"style":209},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[211],{"type":74,"value":54},{"type":69,"tag":117,"props":213,"children":214},{"style":130},[215],{"type":74,"value":216},"'\n",{"type":69,"tag":117,"props":218,"children":220},{"class":119,"line":219},7,[221],{"type":69,"tag":117,"props":222,"children":224},{"emptyLinePlaceholder":223},true,[225],{"type":74,"value":226},"\n",{"type":69,"tag":117,"props":228,"children":230},{"class":119,"line":229},8,[231,236,242,247,252,258,263],{"type":69,"tag":117,"props":232,"children":233},{"style":124},[234],{"type":74,"value":235},"export",{"type":69,"tag":117,"props":237,"children":239},{"style":238},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[240],{"type":74,"value":241}," const",{"type":69,"tag":117,"props":243,"children":244},{"style":140},[245],{"type":74,"value":246}," features ",{"type":69,"tag":117,"props":248,"children":249},{"style":130},[250],{"type":74,"value":251},"=",{"type":69,"tag":117,"props":253,"children":255},{"style":254},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[256],{"type":74,"value":257}," tableFeatures",{"type":69,"tag":117,"props":259,"children":260},{"style":140},[261],{"type":74,"value":262},"(",{"type":69,"tag":117,"props":264,"children":265},{"style":130},[266],{"type":74,"value":267},"{\n",{"type":69,"tag":117,"props":269,"children":271},{"class":119,"line":270},9,[272,276],{"type":69,"tag":117,"props":273,"children":274},{"style":140},[275],{"type":74,"value":143},{"type":69,"tag":117,"props":277,"children":278},{"style":130},[279],{"type":74,"value":148},{"type":69,"tag":117,"props":281,"children":283},{"class":119,"line":282},10,[284,290,295],{"type":69,"tag":117,"props":285,"children":287},{"style":286},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[288],{"type":74,"value":289},"  aggregationFns",{"type":69,"tag":117,"props":291,"children":292},{"style":130},[293],{"type":74,"value":294},":",{"type":69,"tag":117,"props":296,"children":297},{"style":130},[298],{"type":74,"value":133},{"type":69,"tag":117,"props":300,"children":302},{"class":119,"line":301},11,[303,308,312,317],{"type":69,"tag":117,"props":304,"children":305},{"style":286},[306],{"type":74,"value":307},"    mean",{"type":69,"tag":117,"props":309,"children":310},{"style":130},[311],{"type":74,"value":294},{"type":69,"tag":117,"props":313,"children":314},{"style":140},[315],{"type":74,"value":316}," aggregationFn_mean",{"type":69,"tag":117,"props":318,"children":319},{"style":130},[320],{"type":74,"value":148},{"type":69,"tag":117,"props":322,"children":324},{"class":119,"line":323},12,[325,330,334,339],{"type":69,"tag":117,"props":326,"children":327},{"style":286},[328],{"type":74,"value":329},"    sum",{"type":69,"tag":117,"props":331,"children":332},{"style":130},[333],{"type":74,"value":294},{"type":69,"tag":117,"props":335,"children":336},{"style":140},[337],{"type":74,"value":338}," aggregationFn_sum",{"type":69,"tag":117,"props":340,"children":341},{"style":130},[342],{"type":74,"value":148},{"type":69,"tag":117,"props":344,"children":346},{"class":119,"line":345},13,[347],{"type":69,"tag":117,"props":348,"children":349},{"style":130},[350],{"type":74,"value":351},"  },\n",{"type":69,"tag":117,"props":353,"children":355},{"class":119,"line":354},14,[356,360],{"type":69,"tag":117,"props":357,"children":358},{"style":130},[359],{"type":74,"value":196},{"type":69,"tag":117,"props":361,"children":362},{"style":140},[363],{"type":74,"value":364},")\n",{"type":69,"tag":99,"props":366,"children":368},{"id":367},"core-patterns",[369],{"type":74,"value":370},"Core Patterns",{"type":69,"tag":372,"props":373,"children":375},"h3",{"id":374},"grand-total-and-selected-row-scopes",[376],{"type":74,"value":377},"Grand total and selected row scopes",{"type":69,"tag":106,"props":379,"children":381},{"className":108,"code":380,"language":110,"meta":111,"style":111},"const grandTotal = salaryColumn.getAggregationValue()\nconst filteredTotal = salaryColumn.getAggregationValue({\n  rows: table.getFilteredRowModel().rows,\n})\nconst childTotal = salaryColumn.getAggregationValue({\n  rows: table.getCoreRowModel().rows,\n  maxDepth: 1,\n})\n",[382],{"type":69,"tag":77,"props":383,"children":384},{"__ignoreMap":111},[385,422,458,502,513,549,589,611],{"type":69,"tag":117,"props":386,"children":387},{"class":119,"line":120},[388,393,398,402,407,412,417],{"type":69,"tag":117,"props":389,"children":390},{"style":238},[391],{"type":74,"value":392},"const",{"type":69,"tag":117,"props":394,"children":395},{"style":140},[396],{"type":74,"value":397}," grandTotal ",{"type":69,"tag":117,"props":399,"children":400},{"style":130},[401],{"type":74,"value":251},{"type":69,"tag":117,"props":403,"children":404},{"style":140},[405],{"type":74,"value":406}," salaryColumn",{"type":69,"tag":117,"props":408,"children":409},{"style":130},[410],{"type":74,"value":411},".",{"type":69,"tag":117,"props":413,"children":414},{"style":254},[415],{"type":74,"value":416},"getAggregationValue",{"type":69,"tag":117,"props":418,"children":419},{"style":140},[420],{"type":74,"value":421},"()\n",{"type":69,"tag":117,"props":423,"children":424},{"class":119,"line":136},[425,429,434,438,442,446,450,454],{"type":69,"tag":117,"props":426,"children":427},{"style":238},[428],{"type":74,"value":392},{"type":69,"tag":117,"props":430,"children":431},{"style":140},[432],{"type":74,"value":433}," filteredTotal ",{"type":69,"tag":117,"props":435,"children":436},{"style":130},[437],{"type":74,"value":251},{"type":69,"tag":117,"props":439,"children":440},{"style":140},[441],{"type":74,"value":406},{"type":69,"tag":117,"props":443,"children":444},{"style":130},[445],{"type":74,"value":411},{"type":69,"tag":117,"props":447,"children":448},{"style":254},[449],{"type":74,"value":416},{"type":69,"tag":117,"props":451,"children":452},{"style":140},[453],{"type":74,"value":262},{"type":69,"tag":117,"props":455,"children":456},{"style":130},[457],{"type":74,"value":267},{"type":69,"tag":117,"props":459,"children":460},{"class":119,"line":151},[461,466,470,475,479,484,489,493,498],{"type":69,"tag":117,"props":462,"children":463},{"style":286},[464],{"type":74,"value":465},"  rows",{"type":69,"tag":117,"props":467,"children":468},{"style":130},[469],{"type":74,"value":294},{"type":69,"tag":117,"props":471,"children":472},{"style":140},[473],{"type":74,"value":474}," table",{"type":69,"tag":117,"props":476,"children":477},{"style":130},[478],{"type":74,"value":411},{"type":69,"tag":117,"props":480,"children":481},{"style":254},[482],{"type":74,"value":483},"getFilteredRowModel",{"type":69,"tag":117,"props":485,"children":486},{"style":140},[487],{"type":74,"value":488},"()",{"type":69,"tag":117,"props":490,"children":491},{"style":130},[492],{"type":74,"value":411},{"type":69,"tag":117,"props":494,"children":495},{"style":140},[496],{"type":74,"value":497},"rows",{"type":69,"tag":117,"props":499,"children":500},{"style":130},[501],{"type":74,"value":148},{"type":69,"tag":117,"props":503,"children":504},{"class":119,"line":164},[505,509],{"type":69,"tag":117,"props":506,"children":507},{"style":130},[508],{"type":74,"value":196},{"type":69,"tag":117,"props":510,"children":511},{"style":140},[512],{"type":74,"value":364},{"type":69,"tag":117,"props":514,"children":515},{"class":119,"line":177},[516,520,525,529,533,537,541,545],{"type":69,"tag":117,"props":517,"children":518},{"style":238},[519],{"type":74,"value":392},{"type":69,"tag":117,"props":521,"children":522},{"style":140},[523],{"type":74,"value":524}," childTotal ",{"type":69,"tag":117,"props":526,"children":527},{"style":130},[528],{"type":74,"value":251},{"type":69,"tag":117,"props":530,"children":531},{"style":140},[532],{"type":74,"value":406},{"type":69,"tag":117,"props":534,"children":535},{"style":130},[536],{"type":74,"value":411},{"type":69,"tag":117,"props":538,"children":539},{"style":254},[540],{"type":74,"value":416},{"type":69,"tag":117,"props":542,"children":543},{"style":140},[544],{"type":74,"value":262},{"type":69,"tag":117,"props":546,"children":547},{"style":130},[548],{"type":74,"value":267},{"type":69,"tag":117,"props":550,"children":551},{"class":119,"line":190},[552,556,560,564,568,573,577,581,585],{"type":69,"tag":117,"props":553,"children":554},{"style":286},[555],{"type":74,"value":465},{"type":69,"tag":117,"props":557,"children":558},{"style":130},[559],{"type":74,"value":294},{"type":69,"tag":117,"props":561,"children":562},{"style":140},[563],{"type":74,"value":474},{"type":69,"tag":117,"props":565,"children":566},{"style":130},[567],{"type":74,"value":411},{"type":69,"tag":117,"props":569,"children":570},{"style":254},[571],{"type":74,"value":572},"getCoreRowModel",{"type":69,"tag":117,"props":574,"children":575},{"style":140},[576],{"type":74,"value":488},{"type":69,"tag":117,"props":578,"children":579},{"style":130},[580],{"type":74,"value":411},{"type":69,"tag":117,"props":582,"children":583},{"style":140},[584],{"type":74,"value":497},{"type":69,"tag":117,"props":586,"children":587},{"style":130},[588],{"type":74,"value":148},{"type":69,"tag":117,"props":590,"children":591},{"class":119,"line":219},[592,597,601,607],{"type":69,"tag":117,"props":593,"children":594},{"style":286},[595],{"type":74,"value":596},"  maxDepth",{"type":69,"tag":117,"props":598,"children":599},{"style":130},[600],{"type":74,"value":294},{"type":69,"tag":117,"props":602,"children":604},{"style":603},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[605],{"type":74,"value":606}," 1",{"type":69,"tag":117,"props":608,"children":609},{"style":130},[610],{"type":74,"value":148},{"type":69,"tag":117,"props":612,"children":613},{"class":119,"line":229},[614,618],{"type":69,"tag":117,"props":615,"children":616},{"style":130},[617],{"type":74,"value":196},{"type":69,"tag":117,"props":619,"children":620},{"style":140},[621],{"type":74,"value":364},{"type":69,"tag":70,"props":623,"children":624},{},[625,627,633,635,641,643,649,651,657,659,665],{"type":74,"value":626},"The default uses the pre-grouped row model. Explicit rows can come from any row\nmodel or caller-selected subset. ",{"type":69,"tag":77,"props":628,"children":630},{"className":629},[],[631],{"type":74,"value":632},"maxAggregationDepth",{"type":74,"value":634}," defaults to ",{"type":69,"tag":77,"props":636,"children":638},{"className":637},[],[639],{"type":74,"value":640},"0",{"type":74,"value":642},", which\nselects the supplied roots; ",{"type":69,"tag":77,"props":644,"children":646},{"className":645},[],[647],{"type":74,"value":648},"1",{"type":74,"value":650}," selects direct sub-rows, and ",{"type":69,"tag":77,"props":652,"children":654},{"className":653},[],[655],{"type":74,"value":656},"Infinity",{"type":74,"value":658}," selects\nterminal rows. Branches that end early contribute their deepest available row.\nDefault calls are cached; explicit-row calls intentionally are not because array\nidentity and contents are caller-owned. ",{"type":69,"tag":77,"props":660,"children":662},{"className":661},[],[663],{"type":74,"value":664},"table.getMaxSubRowDepth()",{"type":74,"value":666}," returns the\ndeepest structural depth in the core row model.",{"type":69,"tag":372,"props":668,"children":670},{"id":669},"multiple-aggregations",[671],{"type":74,"value":672},"Multiple aggregations",{"type":69,"tag":106,"props":674,"children":676},{"className":108,"code":675,"language":110,"meta":111,"style":111},"columnHelper.accessor('salary', {\n  aggregationFn: ['mean', { id: 'range', aggregationFn: 'extent' }],\n})\n\nconst value = salaryColumn.getAggregationValue\u003C{\n  mean: number\n  range: [number, number]\n}>()\n",[677],{"type":69,"tag":77,"props":678,"children":679},{"__ignoreMap":111},[680,724,825,836,843,876,894,929],{"type":69,"tag":117,"props":681,"children":682},{"class":119,"line":120},[683,688,692,697,701,706,711,715,720],{"type":69,"tag":117,"props":684,"children":685},{"style":140},[686],{"type":74,"value":687},"columnHelper",{"type":69,"tag":117,"props":689,"children":690},{"style":130},[691],{"type":74,"value":411},{"type":69,"tag":117,"props":693,"children":694},{"style":254},[695],{"type":74,"value":696},"accessor",{"type":69,"tag":117,"props":698,"children":699},{"style":140},[700],{"type":74,"value":262},{"type":69,"tag":117,"props":702,"children":703},{"style":130},[704],{"type":74,"value":705},"'",{"type":69,"tag":117,"props":707,"children":708},{"style":209},[709],{"type":74,"value":710},"salary",{"type":69,"tag":117,"props":712,"children":713},{"style":130},[714],{"type":74,"value":705},{"type":69,"tag":117,"props":716,"children":717},{"style":130},[718],{"type":74,"value":719},",",{"type":69,"tag":117,"props":721,"children":722},{"style":130},[723],{"type":74,"value":133},{"type":69,"tag":117,"props":725,"children":726},{"class":119,"line":136},[727,732,736,741,745,750,754,758,763,768,772,776,781,785,789,794,798,802,807,811,816,821],{"type":69,"tag":117,"props":728,"children":729},{"style":286},[730],{"type":74,"value":731},"  aggregationFn",{"type":69,"tag":117,"props":733,"children":734},{"style":130},[735],{"type":74,"value":294},{"type":69,"tag":117,"props":737,"children":738},{"style":140},[739],{"type":74,"value":740}," [",{"type":69,"tag":117,"props":742,"children":743},{"style":130},[744],{"type":74,"value":705},{"type":69,"tag":117,"props":746,"children":747},{"style":209},[748],{"type":74,"value":749},"mean",{"type":69,"tag":117,"props":751,"children":752},{"style":130},[753],{"type":74,"value":705},{"type":69,"tag":117,"props":755,"children":756},{"style":130},[757],{"type":74,"value":719},{"type":69,"tag":117,"props":759,"children":760},{"style":130},[761],{"type":74,"value":762}," {",{"type":69,"tag":117,"props":764,"children":765},{"style":286},[766],{"type":74,"value":767}," id",{"type":69,"tag":117,"props":769,"children":770},{"style":130},[771],{"type":74,"value":294},{"type":69,"tag":117,"props":773,"children":774},{"style":130},[775],{"type":74,"value":206},{"type":69,"tag":117,"props":777,"children":778},{"style":209},[779],{"type":74,"value":780},"range",{"type":69,"tag":117,"props":782,"children":783},{"style":130},[784],{"type":74,"value":705},{"type":69,"tag":117,"props":786,"children":787},{"style":130},[788],{"type":74,"value":719},{"type":69,"tag":117,"props":790,"children":791},{"style":286},[792],{"type":74,"value":793}," aggregationFn",{"type":69,"tag":117,"props":795,"children":796},{"style":130},[797],{"type":74,"value":294},{"type":69,"tag":117,"props":799,"children":800},{"style":130},[801],{"type":74,"value":206},{"type":69,"tag":117,"props":803,"children":804},{"style":209},[805],{"type":74,"value":806},"extent",{"type":69,"tag":117,"props":808,"children":809},{"style":130},[810],{"type":74,"value":705},{"type":69,"tag":117,"props":812,"children":813},{"style":130},[814],{"type":74,"value":815}," }",{"type":69,"tag":117,"props":817,"children":818},{"style":140},[819],{"type":74,"value":820},"]",{"type":69,"tag":117,"props":822,"children":823},{"style":130},[824],{"type":74,"value":148},{"type":69,"tag":117,"props":826,"children":827},{"class":119,"line":151},[828,832],{"type":69,"tag":117,"props":829,"children":830},{"style":130},[831],{"type":74,"value":196},{"type":69,"tag":117,"props":833,"children":834},{"style":140},[835],{"type":74,"value":364},{"type":69,"tag":117,"props":837,"children":838},{"class":119,"line":164},[839],{"type":69,"tag":117,"props":840,"children":841},{"emptyLinePlaceholder":223},[842],{"type":74,"value":226},{"type":69,"tag":117,"props":844,"children":845},{"class":119,"line":177},[846,850,855,859,863,867,871],{"type":69,"tag":117,"props":847,"children":848},{"style":238},[849],{"type":74,"value":392},{"type":69,"tag":117,"props":851,"children":852},{"style":140},[853],{"type":74,"value":854}," value ",{"type":69,"tag":117,"props":856,"children":857},{"style":130},[858],{"type":74,"value":251},{"type":69,"tag":117,"props":860,"children":861},{"style":140},[862],{"type":74,"value":406},{"type":69,"tag":117,"props":864,"children":865},{"style":130},[866],{"type":74,"value":411},{"type":69,"tag":117,"props":868,"children":869},{"style":254},[870],{"type":74,"value":416},{"type":69,"tag":117,"props":872,"children":873},{"style":130},[874],{"type":74,"value":875},"\u003C{\n",{"type":69,"tag":117,"props":877,"children":878},{"class":119,"line":190},[879,884,888],{"type":69,"tag":117,"props":880,"children":881},{"style":286},[882],{"type":74,"value":883},"  mean",{"type":69,"tag":117,"props":885,"children":886},{"style":130},[887],{"type":74,"value":294},{"type":69,"tag":117,"props":889,"children":891},{"style":890},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[892],{"type":74,"value":893}," number\n",{"type":69,"tag":117,"props":895,"children":896},{"class":119,"line":219},[897,902,906,910,915,919,924],{"type":69,"tag":117,"props":898,"children":899},{"style":286},[900],{"type":74,"value":901},"  range",{"type":69,"tag":117,"props":903,"children":904},{"style":130},[905],{"type":74,"value":294},{"type":69,"tag":117,"props":907,"children":908},{"style":140},[909],{"type":74,"value":740},{"type":69,"tag":117,"props":911,"children":912},{"style":890},[913],{"type":74,"value":914},"number",{"type":69,"tag":117,"props":916,"children":917},{"style":130},[918],{"type":74,"value":719},{"type":69,"tag":117,"props":920,"children":921},{"style":890},[922],{"type":74,"value":923}," number",{"type":69,"tag":117,"props":925,"children":926},{"style":140},[927],{"type":74,"value":928},"]\n",{"type":69,"tag":117,"props":930,"children":931},{"class":119,"line":229},[932,937],{"type":69,"tag":117,"props":933,"children":934},{"style":130},[935],{"type":74,"value":936},"}>",{"type":69,"tag":117,"props":938,"children":939},{"style":140},[940],{"type":74,"value":421},{"type":69,"tag":70,"props":942,"children":943},{},[944,946,952],{"type":74,"value":945},"A scalar option returns a scalar. An array returns a keyed object. Named\nfunctions use their registry name; descriptors provide a stable ",{"type":69,"tag":77,"props":947,"children":949},{"className":948},[],[950],{"type":74,"value":951},"id",{"type":74,"value":953},", which is\nrequired for inline definitions in an array.",{"type":69,"tag":372,"props":955,"children":957},{"id":956},"custom-definitions",[958],{"type":74,"value":959},"Custom definitions",{"type":69,"tag":106,"props":961,"children":963},{"className":108,"code":962,"language":110,"meta":111,"style":111},"const weightedMean = constructAggregationFn({\n  aggregate: ({ rows, getValue }) => {\n    const total = rows.reduce((sum, row) => sum + Number(getValue(row)), 0)\n    return rows.length ? total \u002F rows.length : undefined\n  },\n})\n",[964],{"type":69,"tag":77,"props":965,"children":966},{"__ignoreMap":111},[967,996,1042,1155,1212,1219],{"type":69,"tag":117,"props":968,"children":969},{"class":119,"line":120},[970,974,979,983,988,992],{"type":69,"tag":117,"props":971,"children":972},{"style":238},[973],{"type":74,"value":392},{"type":69,"tag":117,"props":975,"children":976},{"style":140},[977],{"type":74,"value":978}," weightedMean ",{"type":69,"tag":117,"props":980,"children":981},{"style":130},[982],{"type":74,"value":251},{"type":69,"tag":117,"props":984,"children":985},{"style":254},[986],{"type":74,"value":987}," constructAggregationFn",{"type":69,"tag":117,"props":989,"children":990},{"style":140},[991],{"type":74,"value":262},{"type":69,"tag":117,"props":993,"children":994},{"style":130},[995],{"type":74,"value":267},{"type":69,"tag":117,"props":997,"children":998},{"class":119,"line":136},[999,1004,1008,1013,1019,1023,1028,1033,1038],{"type":69,"tag":117,"props":1000,"children":1001},{"style":254},[1002],{"type":74,"value":1003},"  aggregate",{"type":69,"tag":117,"props":1005,"children":1006},{"style":130},[1007],{"type":74,"value":294},{"type":69,"tag":117,"props":1009,"children":1010},{"style":130},[1011],{"type":74,"value":1012}," ({",{"type":69,"tag":117,"props":1014,"children":1016},{"style":1015},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1017],{"type":74,"value":1018}," rows",{"type":69,"tag":117,"props":1020,"children":1021},{"style":130},[1022],{"type":74,"value":719},{"type":69,"tag":117,"props":1024,"children":1025},{"style":1015},[1026],{"type":74,"value":1027}," getValue",{"type":69,"tag":117,"props":1029,"children":1030},{"style":130},[1031],{"type":74,"value":1032}," })",{"type":69,"tag":117,"props":1034,"children":1035},{"style":238},[1036],{"type":74,"value":1037}," =>",{"type":69,"tag":117,"props":1039,"children":1040},{"style":130},[1041],{"type":74,"value":133},{"type":69,"tag":117,"props":1043,"children":1044},{"class":119,"line":151},[1045,1050,1055,1060,1064,1068,1073,1077,1081,1086,1090,1095,1100,1104,1109,1114,1119,1123,1128,1132,1137,1142,1146,1151],{"type":69,"tag":117,"props":1046,"children":1047},{"style":238},[1048],{"type":74,"value":1049},"    const",{"type":69,"tag":117,"props":1051,"children":1052},{"style":140},[1053],{"type":74,"value":1054}," total",{"type":69,"tag":117,"props":1056,"children":1057},{"style":130},[1058],{"type":74,"value":1059}," =",{"type":69,"tag":117,"props":1061,"children":1062},{"style":140},[1063],{"type":74,"value":1018},{"type":69,"tag":117,"props":1065,"children":1066},{"style":130},[1067],{"type":74,"value":411},{"type":69,"tag":117,"props":1069,"children":1070},{"style":254},[1071],{"type":74,"value":1072},"reduce",{"type":69,"tag":117,"props":1074,"children":1075},{"style":286},[1076],{"type":74,"value":262},{"type":69,"tag":117,"props":1078,"children":1079},{"style":130},[1080],{"type":74,"value":262},{"type":69,"tag":117,"props":1082,"children":1083},{"style":1015},[1084],{"type":74,"value":1085},"sum",{"type":69,"tag":117,"props":1087,"children":1088},{"style":130},[1089],{"type":74,"value":719},{"type":69,"tag":117,"props":1091,"children":1092},{"style":1015},[1093],{"type":74,"value":1094}," row",{"type":69,"tag":117,"props":1096,"children":1097},{"style":130},[1098],{"type":74,"value":1099},")",{"type":69,"tag":117,"props":1101,"children":1102},{"style":238},[1103],{"type":74,"value":1037},{"type":69,"tag":117,"props":1105,"children":1106},{"style":140},[1107],{"type":74,"value":1108}," sum",{"type":69,"tag":117,"props":1110,"children":1111},{"style":130},[1112],{"type":74,"value":1113}," +",{"type":69,"tag":117,"props":1115,"children":1116},{"style":254},[1117],{"type":74,"value":1118}," Number",{"type":69,"tag":117,"props":1120,"children":1121},{"style":286},[1122],{"type":74,"value":262},{"type":69,"tag":117,"props":1124,"children":1125},{"style":254},[1126],{"type":74,"value":1127},"getValue",{"type":69,"tag":117,"props":1129,"children":1130},{"style":286},[1131],{"type":74,"value":262},{"type":69,"tag":117,"props":1133,"children":1134},{"style":140},[1135],{"type":74,"value":1136},"row",{"type":69,"tag":117,"props":1138,"children":1139},{"style":286},[1140],{"type":74,"value":1141},"))",{"type":69,"tag":117,"props":1143,"children":1144},{"style":130},[1145],{"type":74,"value":719},{"type":69,"tag":117,"props":1147,"children":1148},{"style":603},[1149],{"type":74,"value":1150}," 0",{"type":69,"tag":117,"props":1152,"children":1153},{"style":286},[1154],{"type":74,"value":364},{"type":69,"tag":117,"props":1156,"children":1157},{"class":119,"line":164},[1158,1163,1167,1171,1176,1181,1185,1190,1194,1198,1202,1207],{"type":69,"tag":117,"props":1159,"children":1160},{"style":124},[1161],{"type":74,"value":1162},"    return",{"type":69,"tag":117,"props":1164,"children":1165},{"style":140},[1166],{"type":74,"value":1018},{"type":69,"tag":117,"props":1168,"children":1169},{"style":130},[1170],{"type":74,"value":411},{"type":69,"tag":117,"props":1172,"children":1173},{"style":140},[1174],{"type":74,"value":1175},"length",{"type":69,"tag":117,"props":1177,"children":1178},{"style":130},[1179],{"type":74,"value":1180}," ?",{"type":69,"tag":117,"props":1182,"children":1183},{"style":140},[1184],{"type":74,"value":1054},{"type":69,"tag":117,"props":1186,"children":1187},{"style":130},[1188],{"type":74,"value":1189}," \u002F",{"type":69,"tag":117,"props":1191,"children":1192},{"style":140},[1193],{"type":74,"value":1018},{"type":69,"tag":117,"props":1195,"children":1196},{"style":130},[1197],{"type":74,"value":411},{"type":69,"tag":117,"props":1199,"children":1200},{"style":140},[1201],{"type":74,"value":1175},{"type":69,"tag":117,"props":1203,"children":1204},{"style":130},[1205],{"type":74,"value":1206}," :",{"type":69,"tag":117,"props":1208,"children":1209},{"style":130},[1210],{"type":74,"value":1211}," undefined\n",{"type":69,"tag":117,"props":1213,"children":1214},{"class":119,"line":177},[1215],{"type":69,"tag":117,"props":1216,"children":1217},{"style":130},[1218],{"type":74,"value":351},{"type":69,"tag":117,"props":1220,"children":1221},{"class":119,"line":190},[1222,1226],{"type":69,"tag":117,"props":1223,"children":1224},{"style":130},[1225],{"type":74,"value":196},{"type":69,"tag":117,"props":1227,"children":1228},{"style":140},[1229],{"type":74,"value":364},{"type":69,"tag":70,"props":1231,"children":1232},{},[1233,1235,1240,1242,1248,1249,1254,1255,1261,1262,1268,1269,1274,1276,1282,1283,1289,1291,1297,1299,1305,1307,1313,1315,1321],{"type":74,"value":1234},"The context provides depth-selected ",{"type":69,"tag":77,"props":1236,"children":1238},{"className":1237},[],[1239],{"type":74,"value":497},{"type":74,"value":1241},", ",{"type":69,"tag":77,"props":1243,"children":1245},{"className":1244},[],[1246],{"type":74,"value":1247},"maxDepth",{"type":74,"value":1241},{"type":69,"tag":77,"props":1250,"children":1252},{"className":1251},[],[1253],{"type":74,"value":1127},{"type":74,"value":1241},{"type":69,"tag":77,"props":1256,"children":1258},{"className":1257},[],[1259],{"type":74,"value":1260},"column",{"type":74,"value":148},{"type":69,"tag":77,"props":1263,"children":1265},{"className":1264},[],[1266],{"type":74,"value":1267},"columnId",{"type":74,"value":1241},{"type":69,"tag":77,"props":1270,"children":1272},{"className":1271},[],[1273],{"type":74,"value":42},{"type":74,"value":1275},", and optional grouped-only ",{"type":69,"tag":77,"props":1277,"children":1279},{"className":1278},[],[1280],{"type":74,"value":1281},"groupingRow",{"type":74,"value":83},{"type":69,"tag":77,"props":1284,"children":1286},{"className":1285},[],[1287],{"type":74,"value":1288},"subRows",{"type":74,"value":1290},".\nEvery aggregation configured on a column receives the same row frontier. Add\n",{"type":69,"tag":77,"props":1292,"children":1294},{"className":1293},[],[1295],{"type":74,"value":1296},"merge({ subRowResults, subRows, ...context })",{"type":74,"value":1298}," when nested groups can more\nefficiently combine already-computed sub-row results; otherwise the engine calls\n",{"type":69,"tag":77,"props":1300,"children":1302},{"className":1301},[],[1303],{"type":74,"value":1304},"aggregate",{"type":74,"value":1306}," with both row sets. ",{"type":69,"tag":77,"props":1308,"children":1310},{"className":1309},[],[1311],{"type":74,"value":1312},"subRowResults[i]",{"type":74,"value":1314}," corresponds to ",{"type":69,"tag":77,"props":1316,"children":1318},{"className":1317},[],[1319],{"type":74,"value":1320},"subRows[i]",{"type":74,"value":411},{"type":69,"tag":372,"props":1323,"children":1325},{"id":1324},"manual-or-remote-values",[1326],{"type":74,"value":1327},"Manual or remote values",{"type":69,"tag":70,"props":1329,"children":1330},{},[1331,1333,1339,1341,1347,1349,1355,1357,1363],{"type":74,"value":1332},"Set a column definition's ",{"type":69,"tag":77,"props":1334,"children":1336},{"className":1335},[],[1337],{"type":74,"value":1338},"getAggregationValue(context)",{"type":74,"value":1340}," to return ",{"type":69,"tag":77,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":74,"value":1346},"{ value }",{"type":74,"value":1348},"\nfor requests handled by a server or another execution environment. Returning\n",{"type":69,"tag":77,"props":1350,"children":1352},{"className":1351},[],[1353],{"type":74,"value":1354},"undefined",{"type":74,"value":1356}," falls back to the local definition. ",{"type":69,"tag":77,"props":1358,"children":1360},{"className":1359},[],[1361],{"type":74,"value":1362},"manualAggregation: true",{"type":74,"value":1364},"\ndisables that local fallback.",{"type":69,"tag":99,"props":1366,"children":1368},{"id":1367},"common-mistakes",[1369],{"type":74,"value":1370},"Common Mistakes",{"type":69,"tag":372,"props":1372,"children":1374},{"id":1373},"high-adding-grouping-for-a-grand-total",[1375,1380],{"type":69,"tag":117,"props":1376,"children":1377},{},[1378],{"type":74,"value":1379},"HIGH",{"type":74,"value":1381}," Adding grouping for a grand total",{"type":69,"tag":70,"props":1383,"children":1384},{},[1385,1387,1393],{"type":74,"value":1386},"Wrong: registering ",{"type":69,"tag":77,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":74,"value":1392},"columnGroupingFeature",{"type":74,"value":1394}," solely to total a column.",{"type":69,"tag":70,"props":1396,"children":1397},{},[1398,1400,1406,1408,1414],{"type":74,"value":1399},"Correct: register ",{"type":69,"tag":77,"props":1401,"children":1403},{"className":1402},[],[1404],{"type":74,"value":1405},"rowAggregationFeature",{"type":74,"value":1407}," and call\n",{"type":69,"tag":77,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":74,"value":1413},"column.getAggregationValue()",{"type":74,"value":1415},". Grouping is only required for grouped rows.",{"type":69,"tag":372,"props":1417,"children":1419},{"id":1418},"high-passing-a-scope-label-and-rows",[1420,1424],{"type":69,"tag":117,"props":1421,"children":1422},{},[1423],{"type":74,"value":1379},{"type":74,"value":1425}," Passing a scope label and rows",{"type":69,"tag":70,"props":1427,"children":1428},{},[1429,1431,1437,1439,1444],{"type":74,"value":1430},"There is no scope option. Call ",{"type":69,"tag":77,"props":1432,"children":1434},{"className":1433},[],[1435],{"type":74,"value":1436},"getAggregationValue()",{"type":74,"value":1438}," for the cached default,\nor pass a single options object containing rows from the desired row model and\n",{"type":69,"tag":77,"props":1440,"children":1442},{"className":1441},[],[1443],{"type":74,"value":1247},{"type":74,"value":1445}," when the desired frontier is below those rows.",{"type":69,"tag":372,"props":1447,"children":1449},{"id":1448},"high-reusing-the-legacy-callable-signature",[1450,1454],{"type":69,"tag":117,"props":1451,"children":1452},{},[1453],{"type":74,"value":1379},{"type":74,"value":1455}," Reusing the legacy callable signature",{"type":69,"tag":70,"props":1457,"children":1458},{},[1459,1461,1467],{"type":74,"value":1460},"Wrong: ",{"type":69,"tag":77,"props":1462,"children":1464},{"className":1463},[],[1465],{"type":74,"value":1466},"(columnId, leafRows, childRows) => result",{"type":74,"value":411},{"type":69,"tag":70,"props":1469,"children":1470},{},[1471,1473,1479],{"type":74,"value":1472},"Correct: ",{"type":69,"tag":77,"props":1474,"children":1476},{"className":1475},[],[1477],{"type":74,"value":1478},"constructAggregationFn({ aggregate: ({ rows, subRows, getValue }) => result })",{"type":74,"value":411},{"type":69,"tag":372,"props":1481,"children":1483},{"id":1482},"medium-assuming-arbitrary-totals-run-in-the-worker",[1484,1489],{"type":69,"tag":117,"props":1485,"children":1486},{},[1487],{"type":74,"value":1488},"MEDIUM",{"type":74,"value":1490}," Assuming arbitrary totals run in the worker",{"type":69,"tag":70,"props":1492,"children":1493},{},[1494,1496,1502],{"type":74,"value":1495},"The experimental worker computes grouped row-model aggregates. Public\n",{"type":69,"tag":77,"props":1497,"children":1499},{"className":1498},[],[1500],{"type":74,"value":1501},"getAggregationValue(options?)",{"type":74,"value":1503}," totals execute on the main thread, and custom\ngrouped results sent by the worker must be structured-cloneable.",{"type":69,"tag":99,"props":1505,"children":1507},{"id":1506},"api-discovery",[1508],{"type":74,"value":1509},"API Discovery",{"type":69,"tag":70,"props":1511,"children":1512},{},[1513,1515,1521,1523,1529,1530,1536,1537,1543,1545,1551],{"type":74,"value":1514},"Inspect ",{"type":69,"tag":77,"props":1516,"children":1518},{"className":1517},[],[1519],{"type":74,"value":1520},"node_modules\u002F@tanstack\u002Ftable-core\u002Fdist\u002Ffeatures\u002Frow-aggregation\u002F",{"type":74,"value":1522}," and the\nAggregation Guide. Use ",{"type":69,"tag":77,"props":1524,"children":1526},{"className":1525},[],[1527],{"type":74,"value":1528},"Column_RowAggregation",{"type":74,"value":1241},{"type":69,"tag":77,"props":1531,"children":1533},{"className":1532},[],[1534],{"type":74,"value":1535},"AggregationFnDef",{"type":74,"value":148},{"type":69,"tag":77,"props":1538,"children":1540},{"className":1539},[],[1541],{"type":74,"value":1542},"AggregationContext",{"type":74,"value":1544},", and ",{"type":69,"tag":77,"props":1546,"children":1548},{"className":1547},[],[1549],{"type":74,"value":1550},"AggregationResult",{"type":74,"value":1552}," for the typed public surface.",{"type":69,"tag":1554,"props":1555,"children":1556},"style",{},[1557],{"type":74,"value":1558},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1560,"total":1638},[1561,1567,1579,1591,1606,1618,1628],{"slug":4,"name":4,"fn":5,"description":6,"org":1562,"tags":1563,"stars":20,"repoUrl":21,"updatedAt":22},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1564,1565,1566],{"name":13,"slug":14,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"slug":1568,"name":1568,"fn":1569,"description":1570,"org":1571,"tags":1572,"stars":20,"repoUrl":21,"updatedAt":1578},"api-not-found","diagnose TanStack Table API errors","Diagnose missing TanStack Table v9 exports, options, state slices, and instance methods. Load before inventing an API when code sees a type error, undefined feature method, absent object key, adapter mismatch, or v8-shaped example.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1573,1576,1577],{"name":1574,"slug":1575,"type":15},"Debugging","debugging",{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:26:05.418735",{"slug":1580,"name":1580,"fn":1581,"description":1582,"org":1583,"tags":1584,"stars":20,"repoUrl":21,"updatedAt":1590},"cell-selection","select rectangular cell ranges in tables","Select rectangular cell ranges with cellSelectionFeature: two-corner range state keyed by row and column id, mousedown\u002Fmouseenter handlers, selection edges, render-order resolution under pinning, and autoResetCellSelection. Load when ranges widen unexpectedly after sorting or column reordering, when a drag re-renders the whole table, or when building copy-to-clipboard from a selection.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1585,1586,1587],{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},"UI Components","ui-components","2026-07-30T05:25:38.403427",{"slug":1592,"name":1592,"fn":1593,"description":1594,"org":1595,"tags":1596,"stars":20,"repoUrl":21,"updatedAt":1605},"client-vs-server","manage TanStack Table data pipelines","Choose client or server ownership for filtering, grouping, sorting, expanding, and pagination in TanStack Table v9. Load for manual* flags, mixed pipelines, server counts, or deciding which dataset each row-model stage receives.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1597,1600,1601,1604],{"name":1598,"slug":1599,"type":15},"Data Pipeline","data-pipeline",{"name":18,"slug":19,"type":15},{"name":1602,"slug":1603,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-07-30T05:25:45.400104",{"slug":1607,"name":1607,"fn":1608,"description":1609,"org":1610,"tags":1611,"stars":20,"repoUrl":21,"updatedAt":1617},"column-faceting","build faceted filter UIs","Build faceted filter UIs with columnFacetingFeature, facetedRowModel, facetedUniqueValues, and facetedMinMaxValues. Load for facet counts, numeric ranges, own-filter exclusion, or server-page facet completeness.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1612,1615,1616],{"name":1613,"slug":1614,"type":15},"Data Visualization","data-visualization",{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:41.397257",{"slug":1619,"name":1619,"fn":1620,"description":1621,"org":1622,"tags":1623,"stars":20,"repoUrl":21,"updatedAt":1627},"column-filtering","implement column filtering in TanStack Table","Filter columns with columnFilteringFeature, filteredRowModel, filterFns, filterMeta, nested-row direction, and manualFiltering. Load for accessor compatibility, controlled filter updaters, fuzzy metadata, or client\u002Fserver ownership.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1624,1625,1626],{"name":13,"slug":14,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:53.391632",{"slug":1629,"name":1629,"fn":1630,"description":1631,"org":1632,"tags":1633,"stars":20,"repoUrl":21,"updatedAt":1637},"column-ordering","manage TanStack Table column ordering","Control TanStack Table v9 leaf columnOrder with stable IDs while accounting for pinning regions, visibility, and groupedColumnMode precedence. Load for drag-and-drop columns or rendered order that differs from state.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1634,1635,1636],{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},"2026-07-30T05:26:03.37801",30,{"items":1640,"total":1737},[1641,1647,1653,1659,1666,1672,1678,1684,1697,1707,1718,1728],{"slug":4,"name":4,"fn":5,"description":6,"org":1642,"tags":1643,"stars":20,"repoUrl":21,"updatedAt":22},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1644,1645,1646],{"name":13,"slug":14,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"slug":1568,"name":1568,"fn":1569,"description":1570,"org":1648,"tags":1649,"stars":20,"repoUrl":21,"updatedAt":1578},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1650,1651,1652],{"name":1574,"slug":1575,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"slug":1580,"name":1580,"fn":1581,"description":1582,"org":1654,"tags":1655,"stars":20,"repoUrl":21,"updatedAt":1590},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1656,1657,1658],{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},{"slug":1592,"name":1592,"fn":1593,"description":1594,"org":1660,"tags":1661,"stars":20,"repoUrl":21,"updatedAt":1605},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1662,1663,1664,1665],{"name":1598,"slug":1599,"type":15},{"name":18,"slug":19,"type":15},{"name":1602,"slug":1603,"type":15},{"name":9,"slug":8,"type":15},{"slug":1607,"name":1607,"fn":1608,"description":1609,"org":1667,"tags":1668,"stars":20,"repoUrl":21,"updatedAt":1617},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1669,1670,1671],{"name":1613,"slug":1614,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"slug":1619,"name":1619,"fn":1620,"description":1621,"org":1673,"tags":1674,"stars":20,"repoUrl":21,"updatedAt":1627},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1675,1676,1677],{"name":13,"slug":14,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"slug":1629,"name":1629,"fn":1630,"description":1631,"org":1679,"tags":1680,"stars":20,"repoUrl":21,"updatedAt":1637},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1681,1682,1683],{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},{"slug":1685,"name":1685,"fn":1686,"description":1687,"org":1688,"tags":1689,"stars":20,"repoUrl":21,"updatedAt":1696},"column-pinning","configure column pinning in TanStack Table","Pin columns into logical start, center, and end regions with columnPinningFeature and renderer-owned sticky CSS. Load for RTL offsets, z-index, backgrounds, overflow, widths, gaps, or overlaps.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1690,1693,1694,1695],{"name":1691,"slug":1692,"type":15},"CSS","css",{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},"2026-07-30T05:25:55.377366",{"slug":1698,"name":1698,"fn":1699,"description":1700,"org":1701,"tags":1702,"stars":20,"repoUrl":21,"updatedAt":1706},"column-resizing","implement column resizing in TanStack Table","Wire columnResizingFeature, header.getResizeHandler, resize mode and direction, pointer or touch events, and performant CSS-variable updates. Load when resize state changes but widths do not, or large tables resize slowly.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1703,1704,1705],{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},"2026-07-30T05:25:51.400011",{"slug":1708,"name":1708,"fn":1709,"description":1710,"org":1711,"tags":1712,"stars":20,"repoUrl":21,"updatedAt":1717},"column-sizing","configure column sizing in TanStack Table","Use columnSizingFeature numeric size, minSize, maxSize, getSize, getStart, getAfter, and total-size APIs in table, grid, or flex CSS. Load for auto or percentage misconceptions and sizing\u002Fpinning layout mismatch.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1713,1714,1715,1716],{"name":1691,"slug":1692,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},"2026-07-30T05:25:48.703799",{"slug":1719,"name":1719,"fn":1720,"description":1721,"org":1722,"tags":1723,"stars":20,"repoUrl":21,"updatedAt":1727},"column-visibility","manage column visibility in TanStack Table","Hide columns with columnVisibilityFeature while rendering visibility-aware header, column, and cell collections. Load when hidden columns remain in the DOM, false-versus-absent state is confused, or enableHiding is misunderstood.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1724,1725,1726],{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":1588,"slug":1589,"type":15},"2026-07-30T05:25:47.367943",{"slug":57,"name":57,"fn":1729,"description":1730,"org":1731,"tags":1732,"stars":20,"repoUrl":21,"updatedAt":1736},"build data grids with TanStack Table","Use TanStack Table v9 as a headless data-grid state and row-processing engine. Load for first-table architecture, stable data and columns, row numbering with getDisplayIndex, semantic rendering, framework adapter choice, or deciding what Table owns versus the renderer.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1733,1734,1735],{"name":13,"slug":14,"type":15},{"name":18,"slug":19,"type":15},{"name":1588,"slug":1589,"type":15},"2026-07-30T05:25:52.366295",125]