TypeError: undefined is not an object (evaluating '$.browser.msie')
TypeError: undefined is not an object (evaluating '$.browser.msie')
abhijit_padhy
Posts: 3Questions: 2Answers: 0
On using sScrollY it's throwing TypeError: undefined is not an object (evaluating '$.browser.msie')
datatable v.1.7.6
jquery 1.9.1
Help me asap.
Thanks
Abhijit
This discussion has been closed.
Answers
There's the issue. You are using a release from 2011...
1.10.15 is the current release.
Allan
But earlier I have used the same datatable in a different page for same application and that's working fine currently. I copied below code and throws typeError : sData.length undefined .
"order" : [[ 3, "desc" ]],
"bPaginate": false,
"bDestroy" : true,
"sScrollX": "100%",
"sScrollY": "350px",
"scrollCollapse": true,
"sScrollCollapse": true,
"aaSorting": [],
"paging": false,
"aoColumns":[
{"bSortable":true,"bSearchable": true},
{"bSortable":true,"bSearchable": true},
{"bSortable":true,"bSearchable": true},
{"bSortable":true,"bSearchable": true},
{"bSortable":true,"bSearchable": true},
{"bSortable":true,"bSearchable": true},
]
You are welcome to continue using an old release, but its is no longer supported.
Note that jQuery removed the
jQuery.browser
property in jQuery 1.9. See their documentation.Allan