uncaught typeerror: cannot read property 'cell' of undefined
uncaught typeerror: cannot read property 'cell' of undefined
amandanicole
Posts: 4Questions: 1Answers: 0
Hi all,
I'm using DataTables with SharePoint 2013, and haven't run into a problem like this until now. Up until now, I've been using DataTables solely on lists and grid views. I attempted to do the same on a document library, and the console gave me this error:
"Uncaught typeerror: cannot read property 'cell' of undefined"
This is the code the console refers to from the datatables.js file:
/* Expand the cell to cover as many rows as needed */
while ( aoLocal[i+iRowspan] !== undefined &&
aoLocal[i][j].cell == aoLocal[i+iRowspan][j].cell )
{
aApplied[i+iRowspan][j] = 1;
iRowspan++;
}
Any insight is appreciated!
This discussion has been closed.
Replies
Found the issue amazingly quickly. Just a little error in the HTML when we were setting up the frame for the table. I'm just relieved that the fact it's a document library had nothing to do with the error!