Mat-Table : Scroll a row into view in angular 2

user2587790 picture user2587790 · Apr 6, 2018 · Viewed 6.9k times · Source

Is it possible to scroll a specific data row into view when using the angular material mat-table cdk-table?

I'm trying to implement keyboard scrolling with no luck.

Answer

user2587790 picture user2587790 · Apr 8, 2018

I've it working now. Not perfect but it works.

See the example on stack blitz mentioned in my earlier message.

https://stackblitz.com/edit/mensand-rowselect?file=app%2Ftable-basic-example.html