I am using Angular Material 2 with Angular 5. I am using mat-table. I want to fix a single column in mat-table. When i scroll the horizontal bar then a column will fix and not scrolling. Is there possible to fixed a column in mat-table.
Asked
Active
Viewed 6,634 times
1 Answers
5
From material documentation:
It is also possible to fix cell columns to the start or end of the horizontally scrolling viewport. To do this, add the sticky or stickyEnd directive to the ng-container column definition.
Here is example

amalgama
- 63
- 2
- 10