swimlane / angular-data-table

A feature-rich but lightweight ES6 AngularJS Data Table crafted for large data sets!
http://swimlane.github.io/angular-data-table/
MIT License
577 stars 141 forks source link

Header moved to right past the right end of a cell #280

Closed jakubbares closed 7 years ago

jakubbares commented 7 years ago

table As can be seen on the screenshot the table cells are not aligned horizontally with the header. This is a bug that suddenly appeared. What can be done? The problem may be due to the generated column Detail, but in other tables we have everything is fine.

                {name: "Detail", 
                 cellRenderer: function(scope, elm){
                     return '<i ng-click="onDetailClick($row, $event)" class="fa fa-cog" style="margin-top: 5px; cursor: pointer; text-align: center; color: #5ca4bb;"></i>';
                 },
                 isCheckboxColumn: true,
                 headerCheckbox: true,
                 flexGrow: 2
                },
jakubbares commented 7 years ago

There was an align right div enclosing the table