There is a piece of code in angu-fixed-header-table.js
$scope.$watch(tableDataLoaded, function(isTableDataLoaded) {
if (isTableDataLoaded) {
transformTable();
}
});
function tableDataLoaded() {
// first cell in the tbody exists when data is loaded but doesn't have a width
// until after the table is transformed
var firstCell = elem.querySelector('tbody tr:first-child td:first-child');
return firstCell && !firstCell.style.width;
}
The problem is my firstChild is always null, and doesn't have a value. So, my table is never transformed and the directive doesn't work for me.
There is a piece of code in angu-fixed-header-table.js
The problem is my firstChild is always null, and doesn't have a value. So, my table is never transformed and the directive doesn't work for me.