jquery - Datatable doesnt work in chrome -


i'm having problem datatables , don't have clue on how fix it.

i use datatables in custom cms , works should on mac (safari, chrome, firefox). colleagues works fine (windows).

but have customer (and more one) datatables doesn't show anything. received screenshot customer titles visible. datatables isn't showing anything, not "no records found". customer having problem in google chrome version 28.0.1500.95 on windows machine. when customer opens internet explorer works fine.

i can't reproduce problem, i'm hoping guys can me out. maybe more common problem? or possible client has on pc, causes datatables not work properly? client has not disabled javascript, cause cms shows message , message not visible in screenshot.

this js have table:

$(document).ready( function() {       $('#applicationstable').datatable( {         "aasorting": [[4,"desc"]],         "bpaginate": true,         "idisplaylength": 50,         "bfilter": true,         "olanguage": {           "opaginate": {             "sprevious": "vorige",             "snext": "volgende",           },             "ssearch": "zoeken:",             "sinfo": "toont _start_ t/m _end_ van de _total_ sollicitaties.",             "slengthmenu": "toon _menu_ sollicitaties"         }       } );     }); 

this not direct answer, might give idea how start debugging. jackpoint says, need install chrome, open page there developer tools running can check console log. had same symptoms in chrome , able track down bug datatables working. think chrome sensitive errors , if there serious error embedded in code, whole fragile structure gets broken. in case, had dig quite deep find tripping chrome up. make ajax call data datatable, populate knockout observablearray data. there html table on page bound observablearray automatically populated knockout after ajax returns data. can call datatable() on table , decorated sortable columns etc usual. however, needed add sort function observablearray in attempting call string.tolowercase, chrome thinks undefined. console alerted me error. discovered sort function causing behaviour. first removed , sure enough datatables started working again. went , systematically checked arguments object of sort function (no problem) , realised need change string.tolowercase string.prototype.tolowercase. heaven knows why that's happening, hope has given ideas how approach debugging obscure problem this.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -