ng2-table icon indicating copy to clipboard operation
ng2-table copied to clipboard

Added option to create column with action buttons.

Open danilomcb opened this issue 8 years ago • 1 comments

I made a fork and implemented so it's possible to add more than one action button at the last column. It's a simple implementation, that following the same pattern from the ng2-table team.

Basically, I created a object that represents the action buttons that should be displayed at the table. The action may be identified by it's type.

export const TableActions:Array<any> = [
 {
   'title': '',
   'type': 'edit',
   'tooltip': 'Edit',
   'classBtn': '',
   'classIcon': 'fa fa-pencil',
 },
 {
   'title': '',
   'type': 'delete',
   'tooltip': 'Delete',
   'classBtn': '',
   'classIcon': 'fa fa-trash',
 }
];

danilomcb avatar Mar 13 '17 13:03 danilomcb

Any update here? No word from the @valor-software team?

Falci avatar Jan 25 '19 18:01 Falci