Scroller plugin misplaces Datatable's column header

Scroller plugin misplaces Datatable's column header

mohanmohan Posts: 2Questions: 0Answers: 0
edited February 2013 in Plug-ins
Hello,

I am trying to implement the scroller plugin in datatables and the table is activated by the outside button. When the outside button is clicked multiple times then the column header gets misplaced. I have a code snippets in the js fiddle :
http://jsfiddle.net/2r8h7/4/

If you click the button multiple times then you will notice the column header is moved to the top. If the S is removed from SDom then it works perfectly but scroller functions no longer exists. Any suggestions in this regard will be highly appreciated.

Replies

  • allanallan Posts: 61,752Questions: 1Answers: 10,111 Site admin
    Thanks for the link to the test case!

    Fix committed https://github.com/DataTables/Scroller/commit/278510d . This is now available in the nightly and will be in Scroller v1.1.1.

    Regards,
    Allan
  • mohanmohan Posts: 2Questions: 0Answers: 0
    Thank you Allan for the change version it works perfectly :-)
This discussion has been closed.