Child row content from external file

Child row content from external file

alzamboalzambo Posts: 38Questions: 17Answers: 1
edited May 2015 in Free community support

Hi,
following this example, i'd like to have the returned html:

 return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">'+
        '<tr>'+
            '<td>Full name:</td>'+
            '<td>'+d.name+'</td>'+
        '</tr>'+
        '<tr>'+
            '<td>Extension number:</td>'+
            '<td>'+d.extn+'</td>'+
        '</tr>'+
        '<tr>'+
            '<td>Extra info:</td>'+
            '<td>And any further details here (images etc)...</td>'+
        '</tr>'+
    '</table>';

in a separate file, so I could edit that file instead of the javascript part; could anyone give me some advice?

This discussion has been closed.