fooplugins / FooTable

jQuery plugin to make HTML tables responsive
https://fooplugins.com/plugins/footable-jquery/
Other
2.13k stars 640 forks source link

classes and data are removed from th element #853

Open iwasherefirst2 opened 4 years ago

iwasherefirst2 commented 4 years ago

Hi, I am using FooTable Standalone Version 3.0.10

The classes and data on a td element remain, but they are striped from th elements. Is this expected behavior or a bug?

For example

<th data-breakpoints="all" data-type="html" data-hide="1" class="hide-me" style="display:none">Description</th>

will render to

<th>Description</th>

after $('.table').footable(); is called.