12345678910111213141516171819202122232425262728293031323334 |
- ;(function ($) {
- $.layout.callbacks.resizeDataTables = function (x, ui) {
-
- var oPane = ui.jquery ? ui[0] : ui.panel;
-
- if ( !$(oPane).is(":visible") ) return;
-
- $( $.fn.dataTable.fnTables(true) ).each(function (i, table) {
- if ($.contains( oPane, table )) {
- $(table).dataTable().fnAdjustColumnSizing();
- }
- });
- };
- })( jQuery );
|