PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` /** * @author: Dennis Hern?ndez * @webSite: http://djhvscf.github.io/Blog * @version: v1.0.0 */ (function ($) { 'use strict'; var initResizable = function (that) { //Deletes the plugin to re-create it that.$el.colResizable({disable: true}); //Creates the plugin that.$el.colResizable({ liveDrag: that.options.liveDrag, fixed: that.options.fixed, headerOnly: that.options.headerOnly, minWidth: that.options.minWidth, hoverCursor: that.options.hoverCursor, dragCursor: that.options.dragCursor, onResize: that.onResize, onDrag: that.options.onResizableDrag }); }; $.extend($.fn.bootstrapTable.defaults, { resizable: false, liveDrag: false, fixed: true, headerOnly: false, minWidth: 15, hoverCursor: 'e-resize', dragCursor: 'e-resize', onResizableResize: function (e) { return false; }, onResizableDrag: function (e) { return false; } }); var BootstrapTable = $.fn.bootstrapTable.Constructor, _toggleView = BootstrapTable.prototype.toggleView, _resetView = BootstrapTable.prototype.resetView; BootstrapTable.prototype.toggleView = function () { _toggleView.apply(this, Array.prototype.slice.apply(arguments)); if (this.options.resizable && this.options.cardView) { //Deletes the plugin $(this.$el).colResizable({disable: true}); } }; BootstrapTable.prototype.resetView = function () { var that = this; _resetView.apply(this, Array.prototype.slice.apply(arguments)); if (this.options.resizable) { // because in fitHeader function, we use setTimeout(func, 100); setTimeout(function () { initResizable(that); }, 100); } }; BootstrapTable.prototype.onResize = function (e) { var that = $(e.currentTarget); that.bootstrapTable('resetView'); that.data('bootstrap.table').options.onResizableResize.apply(e); } })(jQuery);