I'm trying to add a button to custom action, but a new column is not added in 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'
}
}
};
I needed to put a link to the image, because I have little reputation here and the image tool is blocked for me.
reaction image:
What am I doing wrong?
There is one another css to align items,
::ng-deep {
ng2-st-tbody-edit-delete {
display: none;
height: 0 !important;
}
ng2-st-tbody-custom {
display: flex;
text-align: center;
}
}`
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With