>><th ng-repeat="col in wm.columns" ng-class="{selected: col.valueName === wm.selectedColumn}" class="ng-binding ng-scope selected" style=""> >> Extra Large >> </th>>>
>><table id="matrixTable" class="table table-bordered table-hover table-list scTable"> >> <thead> >> <tr> >> <th class="col-xs-4" align="center" valign="middle"> >> <select class="form-control" >> ng-options="fld as fld for fld in wm.fieldValues" ng-model="wm.selectedField" >> ng-change="wm.fieldChanged(wm.selectedField)"></select> >> </th> >> >> <th class="col-xs-8" align="center" valign="middle"> >> <label class="control-label">{{wm.columnAttribute}}</label> >> </th> >> </tr> >> <tr> >> <th class="col-xs-4" align="center" valign="middle"> >> <label class="control-label">{{wm.rowAttribute}}</label> >> </th> >> <th ng-repeat="col in wm.columns" ng-class="{selected: col.valueName === wm.selectedColumn}"> >> {{col.valueName}} >> </th> >> </tr> >> </thead> >> <tbody> >> <tr ng-repeat="row in wm.rows "> >> <td class="col-xs-4" ng-class="{selected: row.valueName === wm.selectedRow}"> >> {{row.valueName}} >> </td> >> <td ng-repeat="column in wm.columns track by $index" >> ng-click="wm.valueClick(row.valueName, column.valueName, $index);" >> ng-class="{selected: $index === wm.selectedIndex && row.valueName===wm.selectedRow}"> >> <span >{{$index}}</span> >> </td> >> </tr> >> </tbody> >> </table>>>
>>.table-list > tbody > tr.selected td { >> background: #eaf2f8; >>} >>.table-list > tbody > tr > td.selected { >> background: #eaf2f8; >> color: blue; >>} >> >>.widget .table.table-bordered tr.selected td:first-child{ >> border-left: solid 8px #2980b9 !important; >>}>>
.table-list > tbody > tr.selected td { background: #eaf2f8; } .table-list > tbody > tr > td.selected { background: #eaf2f8; color: blue; } .table-list > thead > tr > th.selected { background: #eaf2f8; color: blue; }and no effect :(
<th colspan="{{wm.columns.length}}" > {{wm.columnAttribute}} </th>My problem is that the word 'Size' is not centered across the header rows as I want it but rather shows on the left. How can I make it the same as here