I’m having trouble adding a mailto: link to a grid panel’s toolbar.
I’ve tried modifying the object’s HTML configuration & also via the handler but neither are opening the new email message.
{
text : 'Support',
html: '<a href="mailto:email@xx.com" target="_blank">Support</a>'
}
{
text : 'Support',
handler: function() {
return '<a href="mailto:email@xx.com">Support</a>';
}
handler:is used to create handler function of button pressed. To make your mailto link work you should redirect tomailto:email@xx.comaddress like: