TypeError: undefined is not an object (evaluating '$.browser.msie')

TypeError: undefined is not an object (evaluating '$.browser.msie')

abhijit_padhyabhijit_padhy Posts: 3Questions: 2Answers: 0
edited June 2017 in Free community support

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

Answers

  • allanallan Posts: 61,732Questions: 1Answers: 10,110 Site admin

    datatable v.1.7.6

    There's the issue. You are using a release from 2011...

    1.10.15 is the current release.

    Allan

  • abhijit_padhyabhijit_padhy Posts: 3Questions: 2Answers: 0
    edited June 2017

    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},
    ]

  • allanallan Posts: 61,732Questions: 1Answers: 10,110 Site admin

    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

This discussion has been closed.