@tanstack/table-core 8.0.0-alpha.43 → 8.0.0-alpha.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/table-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.0.0-alpha.43",
4
+ "version": "8.0.0-alpha.44",
5
5
  "description": "Hooks for building lightweight, fast and extendable datagrids for React",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/react-table#readme",
package/src/core.ts CHANGED
@@ -310,7 +310,8 @@ export function createTableInstance<TGenerics extends AnyGenerics>(
310
310
  return template
311
311
  },
312
312
 
313
- getRowId: (_: TGenerics['Row'], index: number, parent?: Row<TGenerics>) =>
313
+ getRowId: (row: TGenerics['Row'], index: number, parent?: Row<TGenerics>) =>
314
+ instance.options.getRowId?.(row, index, parent) ??
314
315
  `${parent ? [parent.id, index].join('.') : index}`,
315
316
 
316
317
  getState: () => {