Error in Google Chrome
Error in Google Chrome
tuurtnt@hotmail.com
Posts: 7Questions: 0Answers: 0
I get the following error in Google Chrome:
[code]
Uncaught TypeError: Cannot read property 'asSorting' of undefined
(anonymous function)/js/jquery.dataTables-1.7.3.min.js:139
[/code]
[code]
Uncaught TypeError: Cannot read property 'asSorting' of undefined
(anonymous function)/js/jquery.dataTables-1.7.3.min.js:139
[/code]
This discussion has been closed.
Replies
Uncaught TypeError: Cannot read property 'asSorting' of undefined LINE 6631
Allan
Chrome error is not something unique happened to you.
Sometimes there is a dreadful total crash of the browser and sometime it sends ddifferent errors, upon restarting nothing happens.
Such sorts of errors can be linked to the file association issues. The file association references are the important components of the registry database in Windows.
A registry repair scan, which has the power to fix file association errors, will help you to find the solution for Google chrome error.
I fixed this error after reading this article
http://ezinearticles.com/?Chrome-Error---How-Do-I-Fix-Google-Chrome-Error?&id=3757035
Hope you might get help from this article too.
I had this error too. I solved it by changing my table's HTML. I didn't have thead and tbody, so I did:
[code]
Column 1
Column 2
Row 1
Row 1
[/code]
[code]"aaSorting": [0, 'asc'][/code]
instead of:
[code]"aaSorting": [[0, 'asc']][/code]
Allan
Ultimately yes, there should be a 'debug' version of DataTables that provides trace information about everything so every little issue can be tracked and understood, but like jQuery the general view with DataTables is that there isn't much error handling since it is redundant code once you've got your table correctly setup.
Not to say it isn't useful! I really do want to do a debug version, and have done for years. Other things just keep taking priority!
Allan
So certainly it is possible (as most things are with a little extra code :-) ), but adding error conditions is not something I want to put into DataTables core at this time - it would be suitable for a debug version, which is on the cards, but a good way out (with v1.10 taking priority at the moment).
Allan
The error happens with simple initializaition with no parameters
error happens here:
/* Classes */
if ( bClass )
{
nCell.className += ' '+oCol.sClass;
}
my debug code is http://debug.datatables.net/iqilic