skip to Main Content

Odd issue with bootstrap table – Jquery

I have a page containing a bootstrap table, using the following code: <table class="display table table-bordered table-striped w-100" data-click-to-select="true" data-unique-id="NoticeID" data-pagination="true" data-sortable="true" data-page-size="10" data-single-select="true" data-maintain-selected="true" data-id-field="NoticeID" id="notices" name="notices"> <thead> <tr> <th data-field="state" data-checkbox="true"></th> <th data-field="NoticeID" data-sortable="true">ID</th> <th data-field="Title" data-sortable="true">Title</th> <th…

VIEW QUESTION

jQuery events not listened anymore when pagination – Twitter bootstrap

I'm using pagination implemented in bootstrap-table, and I recently noticed that when use it, my custom jQuery script doesn't work anymore. To be more precise, here is a snippet : $(document).ready(function() { $('.form-modal-confirm-remove').click(function() { alert("Test"); }); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script…

VIEW QUESTION

Twitter Bootstrap table editable json data

Why can't i use bootstrap editable table in this way? <table id="addElements" data-height="299"> <thead> <tr> <th data-field="id" data-align="right">Item ID</th> <th data-field="element" data-align="center">Element</th> <th data-field="weight" data-align="">Težina</th> <th data-field="default_thickness" data-align="">Debljina</th> </tr> </thead> </table> //put data in js variable and fill the table…

VIEW QUESTION
Back To Top
Search