Why popover does not work with bootstrap-table? -
i use bootstrap-table bootstrap-popover , or tooltip. when resize window or use table function (example: search or toggle or sort).then popover or tooltip not work more. (for example tooltip become standard html tooltip.). miss? or problem? welcome! tried standard bootstrap table , not find problem.
i add jsfiddle here test tooltip , popover
it's work please see here solved
thanks of djhvscf on github
so js have this
$(function () { $('[data-toggle="tooltip"]').tooltip() $('[data-toggle="popover"]').popover(); })
and html
<table id ="lst_art_adm" data-toggle="table" data-striped="true" data-search="true" data-show-toggle="true" data-mobile-responsive="true" > <thead> <tr> <th data-sortable="true">id</th> <th>titre</th> <th>sujet</th> <th>fonctions</th> </tr> </thead> <tbody> <tr> <td>14</td> <td align="left" width="80%">un autre article <i>(archive)</i></td> <td>npds<a href="index.php?op=newtopic&topic=1" class="tooltip">npds</a></td>
<tr> <td>13</td> <td align="left" width="80%"><a data-toggle="popover" data-trigger="hover" href="article.php?sid=13" data-content="" title="13" data-html="true" class="">test article</a></td> <td>modules<a href="index.php?op=newtopic&topic=2" class="tooltip">modules</a></td>
...
Comments
Post a Comment