Hi I'm trying to format a 10 digit phone number via the template property in the column definition. The following does not work, but shows what I am after:
{
field: "phone",
title: "Phone Number",
template: '#= kendo.toString(phone,"(###) ###-####") #'
}
Any suggestions. I also tried escaping the hash symbols with \\, but that did not help.
Thanks in advance,
Jonathan
{
field: "phone",
title: "Phone Number",
template: '#= kendo.toString(phone,"(###) ###-####") #'
}
Any suggestions. I also tried escaping the hash symbols with \\, but that did not help.
Thanks in advance,
Jonathan