2017-10-06 7 views
0

私は自分のngx-datatableのセルにクラスを追加しようとしています。Ngx-datatable cellClass

columns.push({ 
    cellTemplate: this.bodyPositionsTmpl, 
    cellClass: 'test', 
    headerTemplate: this.headerPositionsTpl, 
    name: 'Employments', 
    width: this.planningGridColumnWidths.position, 
    frozenLeft: true, 
    frozenRight: false 

});

<datatable-body-cell ....... class="datatable-body-cell sort-active"> 

ここは存在すべきではない:私は私の要素を検査する際

は、しかし、私はクラスが追加見ていけませんか?

答えて

0

それはちょうどそれと同じように動作します。私はちょうどクラスを間違った場所に追加しました。ごめんなさい!

関連する問題