Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialCellStateAccessor should be called with Cell object instead of row original #2701

Closed
pavelpipus opened this issue Sep 2, 2020 · 0 comments

Comments

@pavelpipus
Copy link

pavelpipus commented Sep 2, 2020

initialCellStateAccessor should be called with Cell object instead of row original
Documentation says that If this function is defined, it will be passed a Cell object, from which you can return a value to use as the initial state, eg. cell => cell.row.original.initialCellState[cell.column.id]

ivaskevych added a commit to ivaskevych/react-table that referenced this issue Sep 9, 2020
…initialCellStateAccessor`

pass `row` / `cell` to `initialRowStateAccessor` / `initialCellStateAccessor` accordingly

closes(TanStack#2102, TanStack#2701)
ivaskevych added a commit to ivaskevych/react-table that referenced this issue Sep 9, 2020
…initialCellStateAccessor"

pass "row" / "cell" to "initialRowStateAccessor" / "initialCellStateAccessor" accordingly

closes(TanStack#2102, TanStack#2701)
tannerlinsley pushed a commit that referenced this issue Oct 4, 2020
…initialCellStateAccessor" (#2719)

* fix(usepagination resetpage on globalfilter change): pageIndex reset

autoReset pageIndex on globalFilter change

"fix #1812"

* fix(useRowState): change argument for `initialRowStateAccessor` and `initialCellStateAccessor`

pass `row` / `cell` to `initialRowStateAccessor` / `initialCellStateAccessor` accordingly

closes(#2102, #2701)

* fix(useRowState): change argument for "initialRowStateAccessor" and "initialCellStateAccessor"

pass "row" / "cell" to "initialRowStateAccessor" / "initialCellStateAccessor" accordingly

closes(#2102, #2701)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants