Skip to content

Is it possible to scroll to a particular card id? #228

Discussion options

You must be logged in to vote

Yes, something like

      apiRef.current?.scrollToItem?.(
        apiRef.current?.getItemElementById('someId')
      );

From that example Add item and scroll to it

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cmacdonnacha
Comment options

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