font weight for frozens

This commit is contained in:
Yiğit FINDIKLI 2021-12-22 16:35:13 +03:00
parent 27ff54f566
commit f92ad02edd
2 changed files with 11 additions and 2 deletions

View File

@ -95,7 +95,7 @@
</div>
</th>
</tr>
</ng-template>
</ng-template>
<ng-template pTemplate="body" let-customer>
<tr>
<td style="min-width: 12rem;">

View File

@ -9,7 +9,16 @@ import { MessageService, ConfirmationService } from 'primeng/api'
@Component({
templateUrl: './tabledemo.component.html',
providers: [MessageService, ConfirmationService]
providers: [MessageService, ConfirmationService],
styles: [`
:host ::ng-deep .p-frozen-column {
font-weight: bold;
}
:host ::ng-deep .p-datatable-frozen-tbody {
font-weight: bold;
}
`]
})
export class TableDemoComponent implements OnInit {