Closed tomours closed 9 years ago
It is definitely called fixedHeader.adjust()
.
Can you link to a test case showing the issue please.
Well, maybe I misunderstood the way it's supposed to work. What I did :
my_fixed_header_name = new $.fn.dataTable.FixedHeader(my_table_name, {some options});
and, at some other place I tried :
my_fixed_header_name.adjust();
that didn't work.
What worked for me :
my_fixed_header_name.update();
I see - you are using the FixedHeader "internal" API. Although that is possible, I would recommend that you use the API that is exposed via the DataTables API, as shown in the documentation.
The internal API is not publicly documented.
Hi, I've had a little issue while installing new version (3) of fixedheader. As I was trying, to use "adjust" function, which is referenced in the documentation (see http://datatables.net/reference/api/#fixedheader), my browser kept saying me "this function is not defined". It seems that the function is named "update" in the code, and not "adjust".