I am using angular material table and my table has lot columns to show, i want to implement next and prev button on hover of left and right side of table and on click user can scroll to the end. I am not able to find any such implementation with Angular material table. Please help with any leads. Attaching a picture and link for the reference.
I don't know this library, but you can always make overlay on the sides with position absolute. Then on event click you only need to make something like:
this.tableWrapperRef.nativeElement.scrollBy(100, 0)
Above one should move 100 pixel to the right (didn't test it).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.