Lines Matching +full:g +full:- +full:plus
2 * © SpryMedia Ltd - datatables.net/license
62 * MIT license - http://datatables.net/license/mit
74 // Sanity check - you just know it will happen
107 header: -1,
108 footer: -1
122 floatingParent: $('<div class="dtfh-floatingparent">'),
128 floatingParent: $('<div class="dtfh-floatingparent">'),
180 this._modeChange('in-place', 'header', true);
184 this._modeChange('in-place', 'footer', true);
274 * FixedHeader constructor - adding the required event listeners and
295 var autoHeader = $('.fh-fixedHeader');
300 var autoFooter = $('.fh-fixedFooter');
306 …'column-reorder.dt.dtfc column-visibility.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc…
344 // Instead the table's height is decreased accordingly - see `_scroll()`
350 // existing floating element - reuse it
351 itemDom.floating.removeClass('fixedHeader-floating fixedHeader-locked');
368 .attr('aria-hidden', 'true')
370 'table-layout': 'fixed',
381 height: 'fit-content',
396 .addClass(item === 'footer' ? 'dtfh-floatingparentfoot' : 'dtfh-floatingparenthead')
400 this._stickyPosition(itemDom.floating, '-');
440 +right.replace(/px/g, '') +
441 (sign === '-' ? -1 : 1) * that.s.dt.settings()[0].oBrowser.barWidth;
446 +left.replace(/px/g, '') +
447 (sign === '-' ? -1 : 1) * that.s.dt.settings()[0].oBrowser.barWidth;
473 .replace(/[^\d\.]/g, '') * 1
514 $('th, td', el).css('min-width', '');
547 * * `in-place` - In the main DataTable
548 * * `in` - Floating over the DataTable
549 * * `below` - (Header only) Fixed to the bottom of the table body
550 * * `above` - (Footer only) Fixed to the top of the table body
567 // Instead the table's height is decreased accordingly - see `_scroll()`
594 if (mode === 'in-place') {
642 ? // Yes - push the footer below
644 : // No - bottom set to the gap between the top of the body and the bottom of the window
645 bodyTop + position.tfootHeight - windowBottom
648 windowTop + this.c.headerOffset + position.theadHeight - bodyBottom;
652 var val = this.c[item + 'Offset'] - (shuffle > 0 ? shuffle : 0);
654 itemDom.floating.addClass('fixedHeader-floating');
660 'z-index': 2
675 itemDom.floating.addClass('fixedHeader-locked');
678 top: position.tfootTop - position.theadHeight,
689 itemDom.floating.addClass('fixedHeader-locked');
706 this.s.scrollLeft.header = -1;
707 this.s.scrollLeft.footer = -1;
755 * Mode calculation - determine what mode the fixed items should be placed
792 headerMode = 'in-place';
795 // the scroll of the window plus the headerOffset and the height of the header
800 headerMode = 'in-place';
804 …// The scrolling plus the header offset plus the height of the header is lower than the top of the…
806 // And the scrolling at the top plus the header offset is above the bottom of the body
812 // Further to the above, If the scrolling plus the header offset plus the header height is lower
852 footerMode = 'in-place';
858 footerMode = 'in-place';
895 var overlap = windowTop - scrollOffset.top;
902 (overlap > -header.height ? overlap : 0) -
904 // The top of the header plus
907 (overlap < -header.height ? header.height : 0) +
923 $(this.dom.tfoot.parent()).addClass('fixedHeader-floating');
925 // Otherwise max-width has kicked in so it is not floating
927 $(this.dom.tfoot.parent()).removeClass('fixedHeader-floating');
933 this.dom.header.floatingParent.css('left', bodyLeft - windowLeft);
936 this.dom.footer.floatingParent.css('left', bodyLeft - windowLeft);
945 var blocker = $('div.dtfc-' + side + '-' + end + '-blocker');
947 el = blocker.length === 0 ? null : blocker.clone().css('z-index', 1);
954 left: side === 'right' ? bodyLeft + bodyWidth - el.width() : bodyLeft
1025 // DataTables creation - check if the FixedHeader option has been defined on the