I have a dynamic Table in html. I can get my table row by below function.
HTML:
<tr ng-click="heightChecker(this)" ng-repeat='DFC in DetailsOfFloorsCurrent'<td>blahblah</td></tr>
Script:
$scope.heightChecker = function (row) {
alert(row.$index-2);
}
I want to get my row height, from top of my page. I can get my row, but I can't get the height in pixel from top of my page. Is there any way? (attention: My table is dynamic with n row and n column.)