![](/img/trans.png)
[英]How to add a unique HTML ID attribute to an ngx-datatable-column
[英]How to add anchor tag to ngx-datatable-column
我需要從服務器加載數據並加載ngx-datatable。 在單擊特定列(鏈接<a href="randomurl"/>
或[routerLink] =“ randomcomponent”)時,它應重定向到其他頁面或顯示一個模式窗口。
我是Angular 2的新手
它起作用了,我使用ng-template來完成它。
參考: https : //github.com/swimlane/ngx-datatable/blob/master/demo/basic/row-detail.component.ts
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.