How to get multiple buttons in 2 different columns in ng2-smart-table Angular2
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.6k
- Forks
- 867
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.