sync
This commit is contained in:
+2
-2
@@ -4386,7 +4386,7 @@ export class Grid {
|
||||
this._var.refs.footer.parentElement.style.bottom = `${this._var.footerOffset - e.target.scrollTop}px`;
|
||||
}
|
||||
const tti = this._topToIndex(top);
|
||||
if (this.onBodyScrolled === 'function') {
|
||||
if (typeof this.onBodyScrolled === 'function') {
|
||||
this.onBodyScrolled(e, tti.index, this._var.rowCount);
|
||||
}
|
||||
return;
|
||||
@@ -4395,7 +4395,7 @@ export class Grid {
|
||||
if (this.total != null) {
|
||||
this._var.refs.footer.parentElement.style.bottom = `${this._var.refs.table.offsetTop + this._var.footerOffset - e.target.scrollTop}px`;
|
||||
}
|
||||
if (this.onBodyScrolled === 'function') {
|
||||
if (typeof this.onBodyScrolled === 'function') {
|
||||
this.onBodyScrolled(e, this._var.startIndex, this._var.rowCount);
|
||||
}
|
||||
if (this._var.isFirefox) {
|
||||
|
||||
Reference in New Issue
Block a user