Drill down/row details returns an empty object second time through
Drill down/row details returns an empty object second time through
tomish
Posts: 17Questions: 11Answers: 0
Hi, my row detail works the first time a user enters the page and clicks on the first table they choose. After they close that first table and open a new one, the drill down stops working. On inspection the 'd' object (see below) is empty.
/* Formatting function for row details - modify as you need */
function format ( d ) {
// `d` is the original data object for the row
return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">'+
'<tr>'+
'<td>Personal Email:</td>'+
'<td>'+d.personal_email+'</td>'+
'</tr>'+
'<tr>'+
'<td>Work Email:</td>'+
'<td>'+d.work_email+'</td>'+
'</tr>'+
'<tr>'+
'<td>Job Title:</td>'+
'<td>'+d.title+'</td>'+
'</tr>'+
'</table>';
}
any ideas on how to resolve this issue? Thanks!
This discussion has been closed.