How can I fix the header of the table when scroll? I am trying this but it doesn´t work:
<body>
<div ui-view="header"></div>
<div ui-view="content"></div>
<div ui-view="footer"></div>
</body>
The content:
<div class="table-responsive">
<table class="table table-condensed">
<thead>
<tr class="well" ui-scrollfix>
With CSS:
.well {
background : #eee;
}
.well.ui-scrollfix {
position : fixed;
background : #f00;
top : 50;
}
I am using bootstrap, angular, SPA and I get the data with ng-repeat from a MongoDB DataBase. Thank you very much