mazdik/ng-mazdik

cell font-size,can your add font-size&line-height binding?

huangwei16800 opened this issue · 2 comments

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 {}