/* Please consider that the JS part isn't production ready at all, I just code it to show the concept of merging filters and titles together ! */ $(document).ready(function(){ var $table = $('#table'); $(function () { $('#toolbar').find('select').change(function () { $table.bootstrapTable('refreshOptions', { exportDataType: $(this).val() }); }); }) var trBoldBlue = $("table"); $(trBoldBlue).on("click", "tr", function (){ $(this).toggleClass("bold-blue"); }); });