Not able to resolve Datatable SCRIPT5007 Unable to set property DT CellIndex of undefined or null reference

0 votes

I am not be able to resolve the following Datatables error:

SCRIPT5007: Unable to set property '_DT_CellIndex' of undefined or null reference


Am I missing something here? I am new to JavaScript.

Feb 16 in Java by Aditya
• 7,280 points
26 views

1 answer to this question.

0 votes

I had experienced the same error! What fixed it for me was changing the target in the dataTable initialization based on the number of columns starting from 0.

In our table we had 4 columns so targets: [3]
 

$.extend($.fn.dataTable.defaults,{ 
          columnDefs: [{ 
          targets: [3] 
        }] 
  });
answered Feb 16 by Soham
• 8,730 points

Related Questions In Java

+9 votes
16 answers

Unable to resolve this error: "javac is not recognized as an internal or external command"

Check your javac path on Windows using Windows Explorer C:\Program Files\Java\jdk1.7.0_02\bin and ...READ MORE

answered May 23, 2018 in Java by Rishabh
• 3,620 points
388,778 views
0 votes
1 answer

How to resolve the error: could not find or load main class?

If you are getting error: could not ...READ MORE

answered May 28, 2018 in Java by Parth
• 4,630 points
5,781 views
0 votes
3 answers

How to check whether a file exists or not in Java?

Using nio we can check whether file ...READ MORE

answered Aug 14, 2018 in Java by Sushmita
• 6,900 points
2,211 views
0 votes
3 answers

How to check whether a string is empty or not? Is there a function for this?

str != null && str.length() != 0 alternatively str ...READ MORE

answered Sep 11, 2018 in Java by Sushmita
• 6,900 points
454 views
0 votes
1 answer

datatable remove column on export to pdf and excel

When we are using jquery datatable for ...READ MORE

answered Feb 17 in Others by gaurav
• 13,460 points
697 views
0 votes
0 answers

TypeError: $(...).DataTable is not a function

I am working on jQuery's Datatable JS ...READ MORE

Apr 29 in Git & GitHub by Kichu
• 19,040 points
314 views
0 votes
1 answer

What is jQuery?

Hey, jQuery is a fast and concise JavaScript ...READ MORE

answered Feb 14, 2020 in JQuery by kartik
• 37,500 points
295 views
0 votes
1 answer

Uncaught TypeError: Cannot read property 'msie' of undefined - jQuery tools

Hello, Use the following script tag in your ...READ MORE

answered Apr 28, 2020 in JQuery by Niroj
• 82,720 points
8,354 views
0 votes
2 answers

How do I convert a String to an int in Java?

Use the lines of code mentioned below:- String ...READ MORE

answered Feb 9 in Java by Soham
• 8,730 points
403 views
0 votes
1 answer

Render HTML to an image

To answer your question, there are a ...READ MORE

answered Feb 8 in Java by Soham
• 8,730 points
304 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP