Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82036

Custom bootstrap popover data attribute visible in data exported using Excel export button

$
0
0

Hi, I am using the button extension to export Excel files. If in the column title I insert a Bootstrap custom popover, in the exported Excel file some data attribute appear along with the column title.
Please refer to the demo
live.datatables.net/xozibihu/1/edit
Leave only the output tab to see the Excel button, press it and open the Excel file, you will see that in addition to the "Name" column title there is also a string
" data-content="Full name" data-original-title="" title="">
that is part of Bootstrap popover data attributes.
The problem happens only if the popover option "template" is used
data-template='<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
see
https://getbootstrap.com/docs/3.3/javascript/#popovers-options
All the other data attribute do not cause any issue.
Any idea to bypass the problem?
Thanks


Viewing all articles
Browse latest Browse all 82036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>