2017-04-26 91 views
0

我寫如何在Angular 2 ng2-smart-table中添加複選框?

checkbox: { 
     title: 'Re-Assiiiiign', 
     type: 'html', 
     valuePrepareFunction: (value) => { return this._sanitizer.bypassSecurityTrustHtml(this.input); }, 

     filter: false 
}, 

public input: string = '<input type="checkbox"></input>'; 
constructor(private _hrdashboardservice: HRDashboardService, private _sanitizer: DomSanitizer){ 
} 

,但不能點擊複選框。任何人都知道任何其他方式來解決在ng2智能表中添加複選框?

回答

相關問題