Can be a bug?

Can be a bug?

dacas999dacas999 Posts: 3Questions: 1Answers: 0

Hello, when I do this:

http://www.datatables.net/examples/api/multi_filter_select.html

with these attributes:

var table = $('#example').DataTable({
"sScrollY": "500px",
"bScrollCollapse": false
});

the behaviour of datatable is erratic, maybe a bug? or is my fault? I attach a zip with full code.

https://mega.co.nz/#!zh1gxCyL!jkT-rHSKku9b_4Up1FEiUOhxWCzanseff1Z0D1140ZM

This question has an accepted answers - jump to answer

Answers

  • dacas999dacas999 Posts: 3Questions: 1Answers: 0

    I get this error in my javascript console: Uncaught TypeError: Cannot read property 'fnGetData' of undefined

  • allanallan Posts: 63,356Questions: 1Answers: 10,444 Site admin
    Answer ✓

    See the second top FAQ.

    You are trying to use the old API (fn*) but getting the new API instance ($().DataTable()).

    You need to be consistent - I would suggest using the new API only. data() is the method to get the data from the table.

    Allan

  • dacas999dacas999 Posts: 3Questions: 1Answers: 0

    Thank you, I can fix it!

This discussion has been closed.