File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dist/extensions/fixed-columns
src/extensions/fixed-columns Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 288288
289289 var tableBody = that . $tableBody . get ( 0 ) ;
290290 var scrollHeight = tableBody . scrollWidth > tableBody . clientWidth ? getScrollBarWidth ( ) : 0 ;
291- var paginationHeight = $ ( ".fixed-table-pagination" ) . height ( ) ;
291+ var paginationHeight = $ ( ".fixed-table-pagination" , that . $tableContainer ) . height ( ) ;
292292 if ( typeof that . options . height !== 'undefined' ) paginationHeight = 0 ;
293293 var height = that . $tableContainer . outerHeight ( true ) - scrollHeight - paginationHeight + 1 ;
294294 $fixedColumns . css ( {
Original file line number Diff line number Diff line change 288288
289289 var tableBody = that . $tableBody . get ( 0 ) ;
290290 var scrollHeight = tableBody . scrollWidth > tableBody . clientWidth ? getScrollBarWidth ( ) : 0 ;
291- var paginationHeight = $ ( ".fixed-table-pagination" ) . height ( ) ;
291+ var paginationHeight = $ ( ".fixed-table-pagination" , that . $tableContainer ) . height ( ) ;
292292 if ( typeof that . options . height !== 'undefined' ) paginationHeight = 0 ;
293293 var height = that . $tableContainer . outerHeight ( true ) - scrollHeight - paginationHeight + 1 ;
294294 $fixedColumns . css ( {
You can’t perform that action at this time.
0 commit comments