Hello, I'm currently implementing a mechanism to save a user's current frontend view on logout / leave for reloading it when the user re-appears to my app.
'm now stuck at a imho rather basic problem - saving and loading a large table's scroll position. The scroll position is saved correctly by using the following code: [code] var scroller = table.getPaneScroller(1); data.rsTbl.scrollPos = { X : scroller.getScrollX(), Y : scroller.getScrollY() }; [/code] My problem now is how to scroll the table to X/Y position when reloading the app. I tried it by using this solution: [code] table.addListener("appear",function(e) { var scroller = table.getPaneScroller(1); scroller.getPaneClipper().scrollToX(data.rsTbl.scrollPos.X); scroller.getPaneClipper().scrollToY(data.rsTbl.scrollPos.Y); },this); [/code] Nothing happens - maybe the Clipper (the Clipper is the table's content Container isn't it?) is the wrong widget. Any ideas? I'm sure you have ;-) Thanks for help - Daniel -- View this message in context: http://qooxdoo.678.n2.nabble.com/save-load-Table-s-scroll-position-tp5439223p5439223.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel