Telephone field to make calls
Telephone field to make calls
Good Morning,
I am trying to create a link so that I can make calls from a phone field in a table.
I'm using an html <a> tag in the columns: data, but it doesn't show me the field data.
{
"render": function (data, type, JsonResultRow, meta) {
return '<a href="tel:'+JsonResultRow.tb_contacto.telefonoFijo+'"></a>';
}
},
Thank you
This discussion has been closed.
Replies
There is not an obvious issue with the code snippet you posted. Do you get errors in the browser's console?
Please post a link to your page or a test case replicating the issue so we an see exactly what you have and offer suggestions.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Thank you
Thanks for posting back. Good to hear you’ve got it working.
Allan