Open jacobbaskin opened 7 years ago
What is missing for the changes to be accepted?
I need scrollToRow
to work on a new table.
Cheers.
Hey @txgruppi, this repo is no longer maintained, but we have a maintained fork at schrodinger/fixed-data-table-2. Could you try that and see if this is still an issue?
@wcjordan I will check this one.
Someone, who is allowed to edit this repo's files, could add a message on README.md
to inform this repo is no longer maintained. =/
Cheers.
Ya it could be much more clear, but no actions been taken yet. Feel free to upvote or chime in on #468 and #408 where discussion about that has been focused.
FixedDataTable's componentWillReceiveProps sets this._rowToScrollTo and then calls this._calculateState. This scrolls to the desired row on update.
However, when creating a new table, this._rowToScrollTo is set in componentWillMount, which is called after getInitialState (which calls this._calculateState). As a result, the row never gets scrolled to.
The same is also true for scrollToColumn probably but I haven't tested.