projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f8603ae
)
Roo/grid/GridView.js
author
edward
<edward@roojs.com>
Thu, 19 May 2016 05:06:04 +0000
(13:06 +0800)
committer
edward
<edward@roojs.com>
Thu, 19 May 2016 05:06:04 +0000
(13:06 +0800)
Roo/grid/GridView.js
patch
|
blob
|
history
diff --git
a/Roo/grid/GridView.js
b/Roo/grid/GridView.js
index
7cb3c3a
..
ee56b4f
100644
(file)
--- a/
Roo/grid/GridView.js
+++ b/
Roo/grid/GridView.js
@@
-835,7
+835,7
@@
Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, {
handleWheel : function(e){
Roo.log('calling handle Wheel???????????????????');
handleWheel : function(e){
Roo.log('calling handle Wheel???????????????????');
- Roo.log(this.handleWheel);
+ Roo.log(this.handleWheel
()
);
var d = e.getWheelDelta();
this.scroller.dom.scrollTop -= d*22;
// set this here to prevent jumpy scrolling on large tables
var d = e.getWheelDelta();
this.scroller.dom.scrollTop -= d*22;
// set this here to prevent jumpy scrolling on large tables
@@
-1461,7
+1461,7
@@
Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, {
},this);
this.scroller.on("scroll", this.handleScroll, this);
},this);
this.scroller.on("scroll", this.handleScroll, this);
- Roo.log(this.handleWheel);
+
this.lockedBody.on("mousewheel", this.handleWheel, this);
this.mainBody.on("mousewheel", this.handleWheel, this);
this.lockedBody.on("mousewheel", this.handleWheel, this);
this.mainBody.on("mousewheel", this.handleWheel, this);