How to get multiple buttons in 2 different columns in ng2-smart-table Angular2
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 867
- PR 合并指标
- 30 天内没有已合并 PR
描述
I want to show buttons in more than 1 column in ng2-smart table in angular 2?
Has any 1 achieved this?
AS of now i have:
@Component({
selector: 'button-view',
template: `
Order Details
`
})
export class ButtonViewComponent implements ViewCell, OnInit {
...
}
export class OrderIssueComponent implements OnInit {
source: LocalDataSource;
...
button: {
title: 'Order Details',
type: 'custom',
renderComponent: ButtonViewComponent,
},
}
I want to use another different button name, but i am getting same button in both columns

If i try like below, i get same 'Order details' button twice in both the columns
button: {
title: 'Order Details',
type: 'custom',
renderComponent: ButtonViewComponent,
},
button2: {
title: 'Service orders',
type: 'custom',
renderComponent: ButtonViewComponent,
},
I need to get 'Service Orders' button
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。