question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

t[o].cells[n] is undefined

See original GitHub issue

Hi, I have downloaded and I am implementing this plugin on a table with dynamic loaded rows from PHP but I am getting this error: t[o].cells[n] is undefined

I have initialized the datatable with $('#my-table').datatable({ pageSize: 10 });

Do I am forgetting something?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Holt59commented, May 2, 2017

The plugin actually recreates the table each time you do operations on it (changing page, filtering, sorting, etc.), so you cannot add extra row in the table.

However, if you wrap the row in a tbody and the footer in a tfooter, everything should work as expected!

0reactions
neoacevedocommented, May 2, 2017

Ah ok, so if I put a tfooter it should work. I will do. Again, thank you and don’t worry, is working. this last one will be a new feature and a great improvement for your plugin that many of us will thank 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

undefined reference to cell::cell(float) - c++ - Stack Overflow
I can't understand why I get the following errors, since I have included all the libraries and everything is more public than it...
Read more >
TypeError: Cannot read property 'cell' of undefined · Issue #623
"TypeError: Cannot read property 'cell' of undefined" occurs when a table has variable number of cells in rows and, page breaks inside the...
Read more >
How to correct a #REF! error - Microsoft Support
The #REF! error shows when a formula refers to a cell that's not valid. This happens most often when cells that were referenced...
Read more >
MATLAB cell2mat - MathWorks
This MATLAB function converts a cell array into an ordinary array. ... Otherwise, the results are undefined. For example, the contents of cells...
Read more >
Single-Cell-Based Analysis Highlights a Surge in Cell ... - PLOS
A single-cell transcriptomics analysis offers a new dynamical view ... as “1” were replaced with UD (for “undefined”) in the raw data file, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found