public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js
function ()
	{
		var
			oSetDT = this.s.dt,
			nScrollHeadInner = oSetDT.nScrollHead.getElementsByTagName('div')[0],
			nScrollHeadTable = nScrollHeadInner.getElementsByTagName('table')[0],
			nScrollBody = oSetDT.nTable.parentNode,
			nTheadSize, nTfootSize;

		/* Copy the header in the thead in the body table, this way we show one single table when
		 * in print view. Note that this section of code is more or less verbatim from DT 1.7.0
		 */
		nTheadSize = oSetDT.nTable.getElementsByTagName('thead');
		if ( nTheadSize.length > 0 )
		{
			oSetDT.nTable.removeChild( nTheadSize[0] );
		}

		if ( oSetDT.nTFoot !== null )
		{
			nTfootSize = oSetDT.nTable.getElementsByTagName('tfoot');
			if ( nTfootSize.length > 0 )
			{
				oSetDT.nTable.removeChild( nTfootSize[0] );
			}
		}

		nTheadSize = oSetDT.nTHead.cloneNode(true);
		oSetDT.nTable.insertBefore( nTheadSize, oSetDT.nTable.childNodes[0] );

		if ( oSetDT.nTFoot !== null )
		{
			nTfootSize = oSetDT.nTFoot.cloneNode(true);
			oSetDT.nTable.insertBefore( nTfootSize, oSetDT.nTable.childNodes[1] );
		}

		/* Now adjust the table's viewport so we can actually see it */
		if ( oSetDT.oScroll.sX !== "" )
		{
			oSetDT.nTable.style.width = $(oSetDT.nTable).outerWidth()+"px";
			nScrollBody.style.width = $(oSetDT.nTable).outerWidth()+"px";
			nScrollBody.style.overflow = "visible";
		}

		if ( oSetDT.oScroll.sY !== "" )
		{
			nScrollBody.style.height = $(oSetDT.nTable).outerHeight()+"px";
			nScrollBody.style.overflow = "visible";
		}
	}
function ()
	{
		var
			oSetDT = this.s.dt,
			nScrollHeadInner = oSetDT.nScrollHead.getElementsByTagName('div')[0],
			nScrollHeadTable = nScrollHeadInner.getElementsByTagName('table')[0],
			nScrollBody = oSetDT.nTable.parentNode,
			nTheadSize, nTfootSize;

		/* Copy the header in the thead in the body table, this way we show one single table when
		 * in print view. Note that this section of code is more or less verbatim from DT 1.7.0
		 */
		nTheadSize = oSetDT.nTable.getElementsByTagName('thead');
		if ( nTheadSize.length > 0 )
		{
			oSetDT.nTable.removeChild( nTheadSize[0] );
		}

		if ( oSetDT.nTFoot !== null )
		{
			nTfootSize = oSetDT.nTable.getElementsByTagName('tfoot');
			if ( nTfootSize.length > 0 )
			{
				oSetDT.nTable.removeChild( nTfootSize[0] );
			}
		}

		nTheadSize = oSetDT.nTHead.cloneNode(true);
		oSetDT.nTable.insertBefore( nTheadSize, oSetDT.nTable.childNodes[0] );

		if ( oSetDT.nTFoot !== null )
		{
			nTfootSize = oSetDT.nTFoot.cloneNode(true);
			oSetDT.nTable.insertBefore( nTfootSize, oSetDT.nTable.childNodes[1] );
		}

		/* Now adjust the table's viewport so we can actually see it */
		if ( oSetDT.oScroll.sX !== "" )
		{
			oSetDT.nTable.style.width = $(oSetDT.nTable).outerWidth()+"px";
			nScrollBody.style.width = $(oSetDT.nTable).outerWidth()+"px";
			nScrollBody.style.overflow = "visible";
		}

		if ( oSetDT.oScroll.sY !== "" )
		{
			nScrollBody.style.height = $(oSetDT.nTable).outerHeight()+"px";
			nScrollBody.style.overflow = "visible";
		}
	}
function ( ) { var oSetDT = this . s . dt , nScrollHeadInner = oSetDT . nScrollHead . getElementsByTagName ( 'div' ) [ 0 ] , nScrollHeadTable = nScrollHeadInner . getElementsByTagName ( 'table' ) [ 0 ] , nScrollBody = oSetDT . nTable . parentNode , nTheadSize , nTfootSize ; /* Copy the header in the thead in the body table, this way we show one single table when
		 * in print view. Note that this section of code is more or less verbatim from DT 1.7.0
		 */ nTheadSize = oSetDT . nTable . getElementsByTagName ( 'thead' ) ; if ( nTheadSize . length > 0 ) { oSetDT . nTable . removeChild ( nTheadSize [ 0 ] ) ; } if ( oSetDT . nTFoot !== null ) { nTfootSize = oSetDT . nTable . getElementsByTagName ( 'tfoot' ) ; if ( nTfootSize . length > 0 ) { oSetDT . nTable . removeChild ( nTfootSize [ 0 ] ) ; } } nTheadSize = oSetDT . nTHead . cloneNode ( true ) ; oSetDT . nTable . insertBefore ( nTheadSize , oSetDT . nTable . childNodes [ 0 ] ) ; if ( oSetDT . nTFoot !== null ) { nTfootSize = oSetDT . nTFoot . cloneNode ( true ) ; oSetDT . nTable . insertBefore ( nTfootSize , oSetDT . nTable . childNodes [ 1 ] ) ; } /* Now adjust the table's viewport so we can actually see it */ if ( oSetDT . oScroll . sX !== "" ) { oSetDT . nTable . style . width = $ ( oSetDT . nTable ) . outerWidth ( ) + "px" ; nScrollBody . style . width = $ ( oSetDT . nTable ) . outerWidth ( ) + "px" ; nScrollBody . style . overflow = "visible" ; } if ( oSetDT . oScroll . sY !== "" ) { nScrollBody . style . height = $ ( oSetDT . nTable ) . outerHeight ( ) + "px" ; nScrollBody . style . overflow = "visible" ; } }
Take account of scrolling in DataTables by showing the full table
@returns void
@private
Take account of scrolling in DataTables by showing the full table