I am working on datatables, I am getting the following error:
Unable to set property '_DT_CellIndex' of undefined or null reference
Does anybody encountered the same erro?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
This is because the count of element is different with count of element
<table> <tr> <th></th> <th></th> <th></th> <!-- 3 ths --> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <!-- 4 tds --> </tr> </table>
Either your table td is lower or table th is lower.
So the DataTable will make it as an error.