Add a custom action - ng2-smart-table

0

I'm trying to add a custom action, but a new column is not added to the action, making the button overlap with the others.

Code:

settings = {
    actions: {
      custom: [
        {
          name: 'Button',
          title: 'Button ',
        }
      ],
    },
    columns: {
      name: {
        title: 'Full name'
      },
      email: {
        title: 'Email'
      },
      lastLogin: {
        title: 'Last Login'
      }
    }
  };

Image of the table:

How can I resolve this?

    
asked by anonymous 30.08.2018 / 02:44

0 answers