Bootstrap-Table: Table Sticky Header extension not working

I copied the exact same starter template they have on their documentation, just to make sure I wasn't implementing Bootstrap-Table wrong: https://bootstrap-table.com/docs/getting-started/introduction/#starter-template

After that, I went to their Table Sticky Header documentation: https://bootstrap-table.com/docs/extensions/sticky-header/

Then I pasted the code on the Usage section within my <head> tag, then on the table I added the attribute like this:

<table data-toggle="table" data-sticky-header="true">
...
</table>

After doing all that, the headers are not sticky when I scroll down my table.
Clearly I'm doing something wrong, any help is appreacited, thanks!


This is what the full code looks like:
Table Sticky Header extension of Bootstrap Table.
An overview of Bootstrap Table, how to download and use, basic templates, and more.
Was this page helpful?