lai32290 / TableHeadFixer

A jQuery plugin for fix HTML table Head, Foot and Columns
105 stars 45 forks source link

Question: why setting this? #45

Open burtek opened 6 years ago

burtek commented 6 years ago

There is a strange line in your JS: https://github.com/lai32290/TableHeadFixer/blob/master/tableHeadFixer.js#L67

Why do you do this? The makes the view scroll back to top when appending more data to table and re-running .tableHeadFixer() on the table... I'm just trying to understand this piece of code...