thread automatic recreation problem
thread automatic recreation problem
Hi all,
I'm setting in my datatable "sScrollY": "200px" and other things. After the datatable being initilized I have a script that change the content of the first 6 of 20 columns of the header to drop downs. The problem is that when I'm using "sScrollY", the datatable recreates the thread element and do not recreate my changes correctly. Is there a way to disable this feature of recreation of the thread or something to solve my problem?
I'm setting in my datatable "sScrollY": "200px" and other things. After the datatable being initilized I have a script that change the content of the first 6 of 20 columns of the header to drop downs. The problem is that when I'm using "sScrollY", the datatable recreates the thread element and do not recreate my changes correctly. Is there a way to disable this feature of recreation of the thread or something to solve my problem?
This discussion has been closed.
Replies
What you want to do is work with the THEAD in the "div.dataTables_scrollHeadInner table thead" element.
Have a poke around a scrolling table with Firebug / Inspector and you'll see the markup used.
Allan