question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sticky Header only firing on last table where multiple tables

See original GitHub issue

Perhaps this is beyond Sticky Header’s capacity, but I have 2 tabs (bootstrap nav) with a table in each, and the Sticky Header only seems to work on the last table it is called on.

I tested this by using setTimeout on table 2 to delay the bootstrapTable call, and the result was that table 1 fired perfectly, but when table 2 was fired, the Sticky Header was removed from table 1.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
UtechtDustincommented, Jul 21, 2020

I guess its fixed (#5191) in our develop branch. Example for two tables: https://live.bootstrap-table.com/code/UtechtDustin/4051

Please provide us an example using our editor.

0reactions
UtechtDustincommented, Jul 21, 2020

No problem, your welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple tables with sticky headers and horizontal scroll
Header and the body of the table are still connected, they will still have the same scroll properties. Now to let them not...
Read more >
A table with both a sticky header and a sticky first column
We've covered that individual cells, and can be position: sticky. It's pretty easy to make the header of a table stick to.
Read more >
Sticky Table Headers & Columns - Codrops
A tutorial on how to create sticky headers and columns for tables using jQuery. The solution is an alternative to other sticky table...
Read more >
Multiple fixed headers bug — DataTables forums
It occurs when I scroll down to the point where the 2nd table header (fixed) meets the last record. When I keep scrolling...
Read more >
Stata Customizable Tables and Collected Results Reference ...
1. You want to create a table showing the results from more than one command. 2. You want to customize how a table...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found