Skip to content
Discussion options

You must be logged in to vote

This is already addressed in the upcoming v9, currently in beta, worth checking before building a workaround on top of v8.

Comparing the source directly: on the current stable v8.21.3, ColumnGrouping.ts types getGroupingValue as (row: TData) => any, a single argument, exactly the limitation described here. On the v9 beta branch, columnGroupingFeature.types.ts has already changed the signature to (originalRow: TData, index: number, row: Row<TFeatures, TData>) => any, and row_getGroupingValue in columnGroupingFeature.utils.ts calls it as column.columnDef.getGroupingValue(row.original, row.index, row), so both the index and the full row (with all its own methods) are already there.

For v8 in…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dvmoritzschoefl
Comment options

@MILLERMARRU
Comment options

Answer selected by dvmoritzschoefl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants