-
-
Notifications
You must be signed in to change notification settings - Fork 38
Goto Method seems backwards #18
Copy link
Copy link
Open
Description
I'm not sure if you intended this, but it seems as though the goTo and the setScrollXY conflict. That is, targetY seems to deal with the columns (inside of goTo) but in setScrollXY, the targetY variable would be used to scroll up and down.
To get the goTo working, I actually changed the javascript code to (changed targetY and targetX):
TableView.prototype.goTo = function(i, j) {
var targetX, targetY;
targetY = i != null ? this.rowHeight * i : void 0;
targetX = j != null ? this.columnOffset[j] : void 0;
return this.scroll.setScrollXY(targetY, targetX);
};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels