Skip to content

Commit

Permalink
658b9d4ce42406bea630174635f258d08655df7f Fix: Columns where misaligne…
Browse files Browse the repository at this point in the history
…d from the second page onwards when using paging and scrolling.

https://datatables.net/forums/discussion/79985 and others

Sync to source repo @658b9d4ce42406bea630174635f258d08655df7f
  • Loading branch information
dtbuild committed Oct 4, 2024
1 parent 44bc402 commit 847314e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.1.7",
"last-sync": "c711f949ba6a4f3f1383918d12a9b9600a558d57"
"last-sync": "658b9d4ce42406bea630174635f258d08655df7f"
}
2 changes: 1 addition & 1 deletion js/dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -5236,7 +5236,7 @@
// browser support
var firstTr = null;

for (i=0 ; i<settings.aiDisplay.length ; i++) {
for (i=settings._iDisplayStart ; i<settings.aiDisplay.length ; i++) {
var idx = settings.aiDisplay[i];
var tr = settings.aoData[idx].nTr;

Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5183,7 +5183,7 @@ function _fnScrollDraw ( settings )
// browser support
var firstTr = null;

for (i=0 ; i<settings.aiDisplay.length ; i++) {
for (i=settings._iDisplayStart ; i<settings.aiDisplay.length ; i++) {
var idx = settings.aiDisplay[i];
var tr = settings.aoData[idx].nTr;

Expand Down

0 comments on commit 847314e

Please sign in to comment.