问题
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.
回答1:
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
来源:https://stackoverflow.com/questions/49697459/mat-table-scroll-a-row-into-view-in-angular-2