public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.js
function ()
	{
		var oGrid = this.dom.grid;
		var iWidth = $(oGrid.wrapper).width();
		var iBodyHeight = $(this.s.dt.nTable.parentNode).outerHeight();
		var iFullHeight = $(this.s.dt.nTable.parentNode.parentNode).outerHeight();
		var oOverflow = this._fnDTOverflow();
		var
			iLeftWidth = this.s.iLeftWidth,
			iRightWidth = this.s.iRightWidth,
			iRight;
		var scrollbarAdjust = function ( node, width ) {
			if ( ! oOverflow.bar ) {
				// If there is no scrollbar (Macs) we need to hide the auto scrollbar
				node.style.width = (width+20)+"px";
				node.style.paddingRight = "20px";
				node.style.boxSizing = "border-box";
			}
			else {
				// Otherwise just overflow by the scrollbar
				node.style.width = (width+oOverflow.bar)+"px";
			}
		};

		// When x scrolling - don't paint the fixed columns over the x scrollbar
		if ( oOverflow.x )
		{
			iBodyHeight -= oOverflow.bar;
		}

		oGrid.wrapper.style.height = iFullHeight+"px";

		if ( this.s.iLeftColumns > 0 )
		{
			oGrid.left.wrapper.style.width = iLeftWidth+"px";
			oGrid.left.wrapper.style.height = "1px";
			oGrid.left.body.style.height = iBodyHeight+"px";
			if ( oGrid.left.foot ) {
				oGrid.left.foot.style.top = (oOverflow.x ? oOverflow.bar : 0)+"px"; // shift footer for scrollbar
			}

			scrollbarAdjust( oGrid.left.liner, iLeftWidth );
			oGrid.left.liner.style.height = iBodyHeight+"px";
		}

		if ( this.s.iRightColumns > 0 )
		{
			iRight = iWidth - iRightWidth;
			if ( oOverflow.y )
			{
				iRight -= oOverflow.bar;
			}

			oGrid.right.wrapper.style.width = iRightWidth+"px";
			oGrid.right.wrapper.style.left = iRight+"px";
			oGrid.right.wrapper.style.height = "1px";
			oGrid.right.body.style.height = iBodyHeight+"px";
			if ( oGrid.right.foot ) {
				oGrid.right.foot.style.top = (oOverflow.x ? oOverflow.bar : 0)+"px";
			}

			scrollbarAdjust( oGrid.right.liner, iRightWidth );
			oGrid.right.liner.style.height = iBodyHeight+"px";

			oGrid.right.headBlock.style.display = oOverflow.y ? 'block' : 'none';
			oGrid.right.footBlock.style.display = oOverflow.y ? 'block' : 'none';
		}
	}
function ()
	{
		var oGrid = this.dom.grid;
		var iWidth = $(oGrid.wrapper).width();
		var iBodyHeight = $(this.s.dt.nTable.parentNode).outerHeight();
		var iFullHeight = $(this.s.dt.nTable.parentNode.parentNode).outerHeight();
		var oOverflow = this._fnDTOverflow();
		var
			iLeftWidth = this.s.iLeftWidth,
			iRightWidth = this.s.iRightWidth,
			iRight;
		var scrollbarAdjust = function ( node, width ) {
			if ( ! oOverflow.bar ) {
				// If there is no scrollbar (Macs) we need to hide the auto scrollbar
				node.style.width = (width+20)+"px";
				node.style.paddingRight = "20px";
				node.style.boxSizing = "border-box";
			}
			else {
				// Otherwise just overflow by the scrollbar
				node.style.width = (width+oOverflow.bar)+"px";
			}
		};

		// When x scrolling - don't paint the fixed columns over the x scrollbar
		if ( oOverflow.x )
		{
			iBodyHeight -= oOverflow.bar;
		}

		oGrid.wrapper.style.height = iFullHeight+"px";

		if ( this.s.iLeftColumns > 0 )
		{
			oGrid.left.wrapper.style.width = iLeftWidth+"px";
			oGrid.left.wrapper.style.height = "1px";
			oGrid.left.body.style.height = iBodyHeight+"px";
			if ( oGrid.left.foot ) {
				oGrid.left.foot.style.top = (oOverflow.x ? oOverflow.bar : 0)+"px"; // shift footer for scrollbar
			}

			scrollbarAdjust( oGrid.left.liner, iLeftWidth );
			oGrid.left.liner.style.height = iBodyHeight+"px";
		}

		if ( this.s.iRightColumns > 0 )
		{
			iRight = iWidth - iRightWidth;
			if ( oOverflow.y )
			{
				iRight -= oOverflow.bar;
			}

			oGrid.right.wrapper.style.width = iRightWidth+"px";
			oGrid.right.wrapper.style.left = iRight+"px";
			oGrid.right.wrapper.style.height = "1px";
			oGrid.right.body.style.height = iBodyHeight+"px";
			if ( oGrid.right.foot ) {
				oGrid.right.foot.style.top = (oOverflow.x ? oOverflow.bar : 0)+"px";
			}

			scrollbarAdjust( oGrid.right.liner, iRightWidth );
			oGrid.right.liner.style.height = iBodyHeight+"px";

			oGrid.right.headBlock.style.display = oOverflow.y ? 'block' : 'none';
			oGrid.right.footBlock.style.display = oOverflow.y ? 'block' : 'none';
		}
	}
function ( ) { var oGrid = this . dom . grid ; var iWidth = $ ( oGrid . wrapper ) . width ( ) ; var iBodyHeight = $ ( this . s . dt . nTable . parentNode ) . outerHeight ( ) ; var iFullHeight = $ ( this . s . dt . nTable . parentNode . parentNode ) . outerHeight ( ) ; var oOverflow = this . _fnDTOverflow ( ) ; var iLeftWidth = this . s . iLeftWidth , iRightWidth = this . s . iRightWidth , iRight ; var scrollbarAdjust = function ( node , width ) { if ( ! oOverflow . bar ) { // If there is no scrollbar (Macs) we need to hide the auto scrollbar node . style . width = ( width + 20 ) + "px" ; node . style . paddingRight = "20px" ; node . style . boxSizing = "border-box" ; } else { // Otherwise just overflow by the scrollbar node . style . width = ( width + oOverflow . bar ) + "px" ; } } ; // When x scrolling - don't paint the fixed columns over the x scrollbar if ( oOverflow . x ) { iBodyHeight -= oOverflow . bar ; } oGrid . wrapper . style . height = iFullHeight + "px" ; if ( this . s . iLeftColumns > 0 ) { oGrid . left . wrapper . style . width = iLeftWidth + "px" ; oGrid . left . wrapper . style . height = "1px" ; oGrid . left . body . style . height = iBodyHeight + "px" ; if ( oGrid . left . foot ) { oGrid . left . foot . style . top = ( oOverflow . x ? oOverflow . bar : 0 ) + "px" ; // shift footer for scrollbar } scrollbarAdjust ( oGrid . left . liner , iLeftWidth ) ; oGrid . left . liner . style . height = iBodyHeight + "px" ; } if ( this . s . iRightColumns > 0 ) { iRight = iWidth - iRightWidth ; if ( oOverflow . y ) { iRight -= oOverflow . bar ; } oGrid . right . wrapper . style . width = iRightWidth + "px" ; oGrid . right . wrapper . style . left = iRight + "px" ; oGrid . right . wrapper . style . height = "1px" ; oGrid . right . body . style . height = iBodyHeight + "px" ; if ( oGrid . right . foot ) { oGrid . right . foot . style . top = ( oOverflow . x ? oOverflow . bar : 0 ) + "px" ; } scrollbarAdjust ( oGrid . right . liner , iRightWidth ) ; oGrid . right . liner . style . height = iBodyHeight + "px" ; oGrid . right . headBlock . style . display = oOverflow . y ? 'block' : 'none' ; oGrid . right . footBlock . style . display = oOverflow . y ? 'block' : 'none' ; } }
Style and position the grid used for the FixedColumns layout
@returns {void}
@private
Style and position the grid used for the FixedColumns layout