mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17:54:14 +01:00
Dev fix: fnAdjustColumnSizing was reseting paging
- The shim layer call to api.draw() was telling the API to reset the paging, but it should have been holding it static (as it now does by passing false in to draw()).
This commit is contained in:
parent
c05d26fcb9
commit
b00180b71e
@ -1 +1 @@
|
||||
f5f7497e52b93a27bb048d7c3c2bea8c453b1eb9
|
||||
6ce86aedafd9cdc882b15c8fa069a156791ede89
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -4748,7 +4748,7 @@
|
||||
var scroll = settings.oScroll;
|
||||
|
||||
if ( bRedraw === undefined || bRedraw ) {
|
||||
api.draw( true );
|
||||
api.draw( false );
|
||||
}
|
||||
else if ( scroll.sX !== "" || scroll.sY !== "" ) {
|
||||
/* If not redrawing, but scrolling, we want to apply the new column sizes anyway */
|
||||
|
Loading…
x
Reference in New Issue
Block a user