Error when attempting to destroy after child row is created
Error when attempting to destroy after child row is created
ing.javiersm
Posts: 1Questions: 1Answers: 0
Now we're using DT v1.10.11 to present search results.
When you retrieve a data set and these have their different child rows and then try with another data set with their own child rows the following error occurs:
Uncaught TypeError: Cannot read property '_detailsShow' of undefined(…)
Here's the relevant portion of the init function:
jquery.dataTables.js:8281
` _api_register( _child_obj+'.isShown()', function () {
var ctx = this.context;
if ( ctx.length && this.length ) {
// _detailsShown as false or undefined will fall through to return false
Line: 8281 -----> return ctx[0].aoData[ this[0] ]._detailsShow || false;
}
return false;
} );`
Thank you.
This discussion has been closed.