Skip to content

Commit

Permalink
add sync of scrollTop of bDiv and fbDiv
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegKi committed Apr 24, 2015
1 parent d5d1af9 commit aaad5aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions js/grid.custom.js
Expand Up @@ -1075,6 +1075,7 @@
fixDiv(grid.fsDiv, grid.sDiv);
});
var myResize = function () {
$(grid.fbDiv).scrollTop($(grid.bDiv).scrollTop());
// TODO: the width of all column headers can be changed
// so one should recalculate frozenWidth in other way.
fixDiv(grid.fhDiv, grid.hDiv);
Expand Down
8 changes: 4 additions & 4 deletions js/jquery.jqgrid.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/jquery.jqgrid.min.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/jquery.jqgrid.src.js
Expand Up @@ -8397,6 +8397,7 @@
fixDiv(grid.fsDiv, grid.sDiv);
});
var myResize = function () {
$(grid.fbDiv).scrollTop($(grid.bDiv).scrollTop());
// TODO: the width of all column headers can be changed
// so one should recalculate frozenWidth in other way.
fixDiv(grid.fhDiv, grid.hDiv);
Expand Down

0 comments on commit aaad5aa

Please sign in to comment.