bootstrap-table export and export buttons issue -


i've problems bootstrap-table , export buttons. indeed, button "export" on right of toolbar displayed desired options. when clicking on 1 of them, there's tolbar content on left of table.

$(document).ready(function(){     var d       = new date();     $('#logfiletable').bootstraptable('destroy').bootstraptable({         exportdatatype: "all",         exporttypes: ['csv', 'txt'],         exportoptions: {filename: 'logs-'+d },     }); }); 

side html:

<table id="logfiletable" data-cache="false" data-url="ajax.php?..url" data-show-export="true" data-sort-name="date_time" data-sort-order="desc" data-show-refresh="true" data-cache="false" data-maintain-selected="true" data-show-columns="true" data-show-toggle="true" data-toggle="table" data-pagination="true" data-search="true" class="table">   <thead>      <tr>         <th data-field="date_time" data-width="15%"><b><?php echo _("date time") ?></b></th>         <th data-field="who" data-width="10%" ><b><?php echo _("who") ?></b></th>         <th data-field="action" ><b><?php echo _("action") ?></b></th>      </tr>   </thead> </table> 

next, gives: a busy cat

but unable don't display buttons on left of table. when click on cvs, or txt, buttons on left displayed , should not. however, export work fine (excepted excel), don't need one.

any ideas?

franck.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -