Scroller: delay resize after updateAll

This commit is contained in:
Mottie 2015-07-15 07:46:11 -05:00
parent fffea5455e
commit a1821127be

View File

@ -345,6 +345,14 @@ ts.scroller = {
tsScroller.updateFixed( c, wo ); tsScroller.updateFixed( c, wo );
// updateAll called - need to give the browser time to adjust the layout
// before calculating fix column widths
if ( c.table.hasInitialized && c.isScrolling ) {
setTimeout(function(){
ts.scroller.resize( c, wo );
}, 50);
}
}, },
resize : function( c, wo ) { resize : function( c, wo ) {