user2587790
user2587790

Reputation: 121

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

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.

Upvotes: 6

Views: 10682

Answers (1)

user2587790
user2587790

Reputation: 121

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

Upvotes: 3

Related Questions