public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/Responsive/js/dataTables.responsive.js
function ()
	{
		var dt = this.s.dt;
		var width = $(window).width();
		var breakpoints = this.c.breakpoints;
		var breakpoint = breakpoints[0].name;
		var columns = this.s.columns;
		var i, ien;

		// Determine what breakpoint we are currently at
		for ( i=breakpoints.length-1 ; i>=0 ; i-- ) {
			if ( width <= breakpoints[i].width ) {
				breakpoint = breakpoints[i].name;
				break;
			}
		}
		
		// Show the columns for that break point
		var columnsVis = this._columnsVisiblity( breakpoint );

		// Set the class before the column visibility is changed so event
		// listeners know what the state is. Need to determine if there are
		// any columns that are not visible but can be shown
		var collapsedClass = false;
		for ( i=0, ien=columns.length ; i<ien ; i++ ) {
			if ( columnsVis[i] === false && ! columns[i].never ) {
				collapsedClass = true;
				break;
			}
		}

		$( dt.table().node() ).toggleClass('collapsed', collapsedClass );

		dt.columns().eq(0).each( function ( colIdx, i ) {
			dt.column( colIdx ).visible( columnsVis[i] );
		} );
	}
function ()
	{
		var dt = this.s.dt;
		var width = $(window).width();
		var breakpoints = this.c.breakpoints;
		var breakpoint = breakpoints[0].name;
		var columns = this.s.columns;
		var i, ien;

		// Determine what breakpoint we are currently at
		for ( i=breakpoints.length-1 ; i>=0 ; i-- ) {
			if ( width <= breakpoints[i].width ) {
				breakpoint = breakpoints[i].name;
				break;
			}
		}
		
		// Show the columns for that break point
		var columnsVis = this._columnsVisiblity( breakpoint );

		// Set the class before the column visibility is changed so event
		// listeners know what the state is. Need to determine if there are
		// any columns that are not visible but can be shown
		var collapsedClass = false;
		for ( i=0, ien=columns.length ; i<ien ; i++ ) {
			if ( columnsVis[i] === false && ! columns[i].never ) {
				collapsedClass = true;
				break;
			}
		}

		$( dt.table().node() ).toggleClass('collapsed', collapsedClass );

		dt.columns().eq(0).each( function ( colIdx, i ) {
			dt.column( colIdx ).visible( columnsVis[i] );
		} );
	}
function ( ) { var dt = this . s . dt ; var width = $ ( window ) . width ( ) ; var breakpoints = this . c . breakpoints ; var breakpoint = breakpoints [ 0 ] . name ; var columns = this . s . columns ; var i , ien ; // Determine what breakpoint we are currently at for ( i = breakpoints . length - 1 ; i >= 0 ; i -- ) { if ( width <= breakpoints [ i ] . width ) { breakpoint = breakpoints [ i ] . name ; break ; } } // Show the columns for that break point var columnsVis = this . _columnsVisiblity ( breakpoint ) ; // Set the class before the column visibility is changed so event // listeners know what the state is. Need to determine if there are // any columns that are not visible but can be shown var collapsedClass = false ; for ( i = 0 , ien = columns . length ; i < ien ; i ++ ) { if ( columnsVis [ i ] === false && ! columns [ i ] . never ) { collapsedClass = true ; break ; } } $ ( dt . table ( ) . node ( ) ) . toggleClass ( 'collapsed' , collapsedClass ) ; dt . columns ( ) . eq ( 0 ) . each ( function ( colIdx , i ) { dt . column ( colIdx ) . visible ( columnsVis [ i ] ) ; } ) ; }
Alter the table display for a resized viewport. This involves first
determining what breakpoint the window currently is in, getting the
column visibilities to apply and then setting them.

@private
Alter the table display for a resized viewport . This involves first determining what breakpoint the window currently is in getting the column visibilities to apply and then setting them .