Hello,
I try to use the following JQuery code in Web2py 2.18.3 or 2.4.5, but it didn't work. I hope that the table header is fixed/floating, and I am not sure if there is a better way to do it in web2py. The link to jquery.floatThead is
https://mkoryak.github.io/floatThead/. Any help would be appreciated.
web2py_ajax.html
response.files.insert(0,URL('static','js/jquery.floatThead.js'))
var $table = $('.web2py_table');
$table.floatThead();
Thanks!