Duplicate headers when using tables in tabs
See original GitHub issueWhen I use the bootstrap table in two tabs (bootstrap tab), the header of the table in second tab is duplicating.
The code I’m using to test:
<div id="resultProcessosPendentes" class="tab-content">
<div class="tab-pane fade in active" id="jec">
<h5>
<small>
<table id="tableJEC" data-toggle="table" data-url="jec.json" data-show-columns="true"
data-search="true" data-show-refresh="true" data-show-export="true" data-pagination="true"
data-height="414">
<thead>
<tr class="white">
<th data-field="id" data-sortable="true">
Prazo
</th>
<th data-field="name" data-sortable="true">
Nº Processo
</th>
<th data-field="price" data-sortable="true">
Nº Processo Unificado
</th>
<th data-field="id" data-sortable="true">
Autor
</th>
<th data-field="name" data-sortable="true">
Vara
</th>
<th data-field="price" data-sortable="true">
Comarca
</th>
<th data-field="id" data-sortable="true">
Objeto Específico
</th>
<th data-field="name" data-sortable="true">
Objeto Geral
</th>
<th data-field="price" data-sortable="true">
Diretoria
</th>
<th data-field="id" data-sortable="true">
Data da Audiência
</th>
<th data-field="name" data-sortable="true">
Status
</th>
<th data-field="price" data-sortable="true">
Vencimento
</th>
</tr>
</thead>
</table>
</small>
</h5>
</div>
<div class="tab-pane fade" id="civel">
<h5>
<small>
<table id="tableACL" data-toggle="table" data-url="acl.json" data-show-columns="true"
data-search="true" data-show-refresh="true" data-show-export="true" data-pagination="true"
data-height="414">
<thead>
<tr class="white">
<th data-field="id" data-sortable="true">
Prazo
</th>
<th data-field="name" data-sortable="true">
Nº Processo
</th>
<th data-field="price" data-sortable="true">
Nº Processo Unificado
</th>
<th data-field="id" data-sortable="true">
Autor
</th>
<th data-field="name" data-sortable="true">
Vara
</th>
<th data-field="price" data-sortable="true">
Comarca
</th>
<th data-field="id" data-sortable="true">
Objeto Específico
</th>
<th data-field="name" data-sortable="true">
Objeto Geral
</th>
<th data-field="price" data-sortable="true">
Diretoria
</th>
<th data-field="id" data-sortable="true">
Data da Audiência
</th>
<th data-field="name" data-sortable="true">
Status
</th>
<th data-field="price" data-sortable="true">
Vencimento
</th>
</tr>
</thead>
</table>
</small>
</h5>
</div>
</div>
Issue Analytics
- State:
- Created 9 years ago
- Comments:17 (3 by maintainers)
Top Results From Across the Web
Duplicate table column headings across pages
Duplicate table column headings across pages · Under Table Tools, on the Layout tab, in the Data group, click Repeat Header Rows: ·...
Read more >How To Repeat Table Headers In Word (On Every Page!)
Specifically, I will show you how to add table headers to the top of every page when a table spans multiple pages in...
Read more >Repeat Header Row in Word Table when Table ... - YouTube
This video shows you how to solve a problem with the Repeat Header Row function in Microsoft Word. The problem occurs when you...
Read more >MS Word Repeat table multiple header rows on ... - YouTube
Two methods:First method:1. In the table, right-click in the row that you want to repeat and then click Table Properties.2.
Read more >Tables with Irregular Headers | Web Accessibility Initiative (WAI)
This can be done by setting the scope attribute of the header cell to the value colgroup . The same principle applies to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
so it will take time to create json static data and HTML … but i can send by tomorrow
Hey @UtechtDustin,
how to init the table inside the function on each API call. 😕