Re: ScrollPanel.scrollToBottom has no effect

2013-06-13 Thread adanzer901
Hy, I have the same Problem. I tried the solution of Paul Robinson, but nevertheless, nothing happens. Where is my mistake? Here is my code: public static ScrollPanel scrollPanel; // ... private void loadInputFunctions() { input.addKeyDownHandler(new KeyDownHandler() {

Re: ScrollPanel.scrollToBottom has no effect

2013-06-13 Thread adanzer901
Hy, I have the same problem with the Scrollpanel. I tried the solution of Paul Robinson, but nevertheless nothing happens. Here's my code: public static ScrollPanel scrollPanel; // ... private void loadInputFunctions() { input.addKeyDownHandler(new KeyDownHandler() {

Re: ScrollPanel.scrollToBottom has no effect

2012-08-17 Thread Paul Robinson
One of the nice things about SuperDevMode in chrome is that as you step through it in the chrome debugger, you can see exactly what the browser does and when because the browser display updates as you step through your code. In other words, if you want to know what's actually happening, you can

Re: ScrollPanel.scrollToBottom has no effect

2012-08-16 Thread Magnus
Hello Paul, this works fine! Thank you very much!!! When I first saw your posting, I thought, that this would produce an unwanted flicker effect, because the list would first be drawn and then be scrolled. But this doesn't seem to be the case. I wonder, why? Does GWT wait with redrawing until

ScrollPanel.scrollToBottom has no effect

2012-08-15 Thread Magnus
Hello, I have a CellTable within a ScrollPanel with a fixed number of rows (40). Whenever the CellTable is filled with data by an AsyncDataProvider, the ScrollPanel should scroll down to the end of the CellTable. So I call scrollToBottom at the end of the load process triggered by

Re: ScrollPanel.scrollToBottom has no effect

2012-08-15 Thread Paul Robinson
Try calling scrollToBottom after the event loop has finished by running it inside a call to Scheduler.get().scheduleDeferred(...) Paul On 16/08/12 06:15, Magnus wrote: Hello, I have a CellTable within a ScrollPanel with a fixed number of rows (40). Whenever the CellTable is filled with