Skip to content Skip to sidebar Skip to footer

Sticky Header Md-table-container Angular Js Material Design

table-container to display records. I have a requirement, when table reaches to top of the screen it's header stick to top. Please guide me to implement this requirement. For examp

Solution 1:

Using the Angular Material table, adding the following to the .scss file for the containing component will now achieve this, but not in IE unfortunately:

.mat-header-row {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  background-color: inherit;
}

See this for discussion.


Post a Comment for "Sticky Header Md-table-container Angular Js Material Design"