I have a problem with this part of code function _fnDrawHead line 3450
I have a problem with this part of code function _fnDrawHead line 3450
I have a problem with this part of code line 3450, so I must add seleted
aoLocal[i+iRowspan][j] !== undefined &&
and
** aoLocal[i][j] !== undefined && **
/* Expand the cell to cover as many rows as needed */
while ( aoLocal[i+iRowspan] !== undefined && aoLocal[i+iRowspan][j] !== undefined &&
aoLocal[i][j].cell == aoLocal[i+iRowspan][j].cell )
{
aApplied[i+iRowspan][j] = 1;
iRowspan++;
}
/* Expand the cell to cover as many columns as needed */
while ( aoLocal[i][j+iColspan] !== undefined &&** aoLocal[i][j] !== undefined && **
aoLocal[i][j].cell == aoLocal[i][j+iColspan].cell )
I hope that it can resolve problems to other
I use last version of datatable
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
My guess is that the HTML isn't valid. But as Colin says, we'd need a test case before we can make this change in the code.
Allan