javascript - While making header fixed in DataTable it will not work -
i trying make fixed header datatable. works fine when data in same file have included script files. problem is, when implement same thing in files data coming other file, not work.
example: have 1 form contains dropdown, , when change drop down call php file datatable comes. in case problem there.
i have included links javascript files in form, , code have tried is:
$(document).ready(function () { var table = $('#example').datatable(); new $.fn.datatable.fixedheader(table); });
i think in second data file not able javascript file. please help.
Comments
Post a Comment