fixed-table-header icon indicating copy to clipboard operation
fixed-table-header copied to clipboard

disappears when used with ng-repeat

Open garretwilson opened this issue 7 years ago • 1 comments

With Angular 1.6.4 and agular-material 1.1.3 I have a table something like this:

<md-content flex layout="column">
	<md-table-container>
		<table md-table>
			<thead md-head fix-head>
				<tr md-row>
					<th md-column>Apple</th>
					<th md-column>Banana</th>
					<th md-column>Cat</th>
					<th md-column>Dog</th>
				</tr>
			</thead>
			<tbody md-body>
				<tr md-row>
					<td md-cell>{{foo.foo}}</td>
					<td md-cell>{{foo.bar}}</td>
					<td md-cell>{{foo.example}}</td>
					<td md-cell>{{foo.test}}</td>
				</tr>
			</tbody>
		</table>
	</md-table-container>
</md-content>

I can fill it with fake data and it works, but when I change the row to <tr md-row ng-repeat="foo in $ctrl.getFoos()">, when the entities are loaded the "fixed" header completely disappears.

garretwilson avatar Apr 18 '17 17:04 garretwilson

I have the same issue. Is there any fix found for this so far?

mitrpathak avatar Apr 28 '17 12:04 mitrpathak