Closed GoogleCodeExporter closed 9 years ago
Try using a deferred command to scroll. If you try to call the scrollToHour
method before the
browser is done rendering the component on the screen nothing will happen.
DeferredCommand.addCommand(new Command(){
@Override
public void execute() {
calendar.scrollToHour(6);
}
});
We do this in the iCal version of the demo:
http://code.google.com/p/gwt-cal/source/browse/branches/version-0.9/gwt-cal-
demo/src/com/bradrydzewski/gwt/calendar/demo/client/iCalCalendarPanel.java
Original comment by Brad.Ryd...@gmail.com
on 15 Mar 2010 at 3:27
Thanks Brad. I've spent the whole weekend trying to get this to work.
Original comment by tom...@gmail.com
on 15 Mar 2010 at 5:10
No problem - I need to document this a little better.
Next time you find yourself stuck feel free to post to our group and hopefully
we can
help save you some time and sanity! :)
http://groups.google.com/group/gwt-cal
Original comment by Brad.Ryd...@gmail.com
on 15 Mar 2010 at 5:32
Issue 81 has been merged into this issue.
Original comment by Brad.Ryd...@gmail.com
on 26 Aug 2010 at 2:52
Original issue reported on code.google.com by
tom...@gmail.com
on 15 Mar 2010 at 1:59