Closed huangwei16800 closed 5 years ago
can you add @HostBinding('style.font-size.px') and line-height ? we can define the cell font-size and line-height , so ,function same as Powerbuilder ( DataWindow) because I make ng-curd-table to web elements, no need setting global css
dt-body-cell-edit tabindex="-1" ng-reflect-table="[object Object]" ng-reflect-cell="[object Object]" class="datatable-body-cell dt-sticky" role="gridcell" data-column-index="1" data-row-index="0" style="line-height: 1.3;font-size:12px;width: 200px; left: 140px;"
if not define font-size,default null,use global body.font-size. if define, use body-cell 's font-size style
try as in these examples: sample1 sample2
<app-crud-table class="your-custom-class" [dataManager]="dataManager"></app-crud-table>
.your-custom-class .datatable-body-cell {}
can you add @HostBinding('style.font-size.px') and line-height ? we can define the cell font-size and line-height , so ,function same as Powerbuilder ( DataWindow) because I make ng-curd-table to web elements, no need setting global css
dt-body-cell-edit tabindex="-1" ng-reflect-table="[object Object]" ng-reflect-cell="[object Object]" class="datatable-body-cell dt-sticky" role="gridcell" data-column-index="1" data-row-index="0" style="line-height: 1.3;font-size:12px;width: 200px; left: 140px;"