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.

Export Table CSS Issue?

See original GitHub issue

Dear @wenzhixin

Are there guidelines or documentation about which dependencies should be installed to make everything work together well? Currently, I’ve managed to assemble a mix of versions that more or less working together by trial and error, but as soon as one component gets replaced by a newer release, other problem are introduced.

I’m facing a few minor issues using bootstrap-table-export in which the icon & dropdown menu aren’t rendered correctly. The icon could be fixed using the example code you wrote & shared on JSFiddle, which I’m gratefully added into my app.

However, I can’t wrap my head around the problem of CSS not being applied to the bootstrap-table-export dropdown menu,

menu2

while it does get applied correctly to the dropdown menu that comes with the button created by data-show-columns="true".

menu1

Basically, I am seeing the same as in the closed issue #3715.

Currently, the following is in use:

<link rel="stylesheet" type="text/css" href="/libs/bootstrap-4.2.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/libs/Font-Awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/libs/bootstrap-table-1.12.2/bootstrap-table.min.css">        

<script type="text/javascript" src="/libs/jquery-3.1.0/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="/libs/popper/umd/popper.min.js"></script>
<script type="text/javascript" src="/libs/bootstrap-4.2.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/libs/core-js-2.6.3/client/core.min.js"></script>
<script type="text/javascript" src="/libs/tableExport/tableExport.js"></script>
<script type="text/javascript" src="/libs/tableExport/jquery.base64.js"></script>
<script type="text/javascript" src="/libs/bootstrap-table-1.12.2/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/libs/bootstrap-table-1.12.2/extensions/export/bootstrap-table-export.js"></script>

Updating bootstrap-table to the latest release breaks my application as certain tables won’t even get filled after it successfully requested JSON-formatted data through an API.

Looking forward to solutions & work-arounds 👍

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
wenzhixincommented, Feb 26, 2019

Great! Close this issue. If you like Bootstrap Table, give us a star! ⭐️⭐️⭐️ Thanks!

0reactions
mdjamancommented, Mar 29, 2019

Sorry to bump this post but there is an issue with the refresh since it uses the alias “fa fa-sync” which is not updated in font-awesome:4.7.0. So can you change it by “fa fa-refresh”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Export Html Table to Excel with CSS - Stack Overflow
I'm trying to export a HTML table ...
Read more >
Export HTML Table with CSS to Excel using JavaScript
Hi,. On Export to EXCEL the below table should be exported as it is in HTML table with colors. CLASS GREEN is assigned...
Read more >
Displaying HTML CSS table in a chart: Issue with exporting
I'm trying to display an HTML CSS table in a chart. I've managed to do it via title text (if you know a...
Read more >
css to avoid table content shifting to next page on printing to ...
Hi ,. I am using HTML2PDFConverter component to export my grids to pdf, in one of the case i have 3 grids to...
Read more >
Inability to 'Export To PDF' when using CSS Table Styles ...
The issue occurs when we attempt to "export to PDF" a letter that contains a table which we have applied a CSS style...
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