Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 29th Jul 2011, 05:30
mishamo mishamo is offline
Registered Developer
 
Join Date: Mar 2011
Posts: 39
Default Horizontal scrollbar hidden by multiple row summary

I'm using SmartGWT nightly build (2011-07-27), Chrome 12.0.742.124 on Ubuntu 10.04.

I'm using a summaryRowDatasource to display a summary on a ListGrid. The response is formed as follows:

Code:
DSResponse response = new DSResponse();
response.setTotalRows(summaryType == SummaryType.TRIPLE ? 3 : 1);
response.setData(records.toArray(new ListGridRecord[0]));
processResponse(request.getRequestId(), response);
As you can see, this summary can be 1 or 3 (or 0) rows long. This all works perfectly except in the situation where the grid requires horizontal scrolling due to field widths exceeding the width of the grid. In such a case, if the summary is 3 rows long, the horizontal scrollbar is hidden by the summary rows. It seems that the scrollbar is placed above the bottom row of the summary instead of the top.
Reply With Quote
  #2  
Old 29th Jul 2011, 05:38
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

This happens to have been found and fixed yesterday evening, grab this morning's nightly for the fix.
Reply With Quote
  #3  
Old 29th Jul 2011, 05:58
mishamo mishamo is offline
Registered Developer
 
Join Date: Mar 2011
Posts: 39
Default

The latest nightly build (2011-07-28) does not appear to have this issue fixed, the scrollbar still does not appear on a 3 row summary. Also auto-fitting columns seems to have broken.
Reply With Quote
  #4  
Old 29th Jul 2011, 06:05
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

Run a GWT compile and clear your browser cache. Always do this after upgrading.
Reply With Quote
  #5  
Old 29th Jul 2011, 06:13
mishamo mishamo is offline
Registered Developer
 
Join Date: Mar 2011
Posts: 39
Default

Re-compiled several times, cleared cache, cleared cache + new browser, I still don't get any scrollbar for a 3 row summary. Also auto-fitting columns is working in a very different way in Firefox to Chrome at the moment (I don't know yet if that's a related issue).
Reply With Quote
  #6  
Old 29th Jul 2011, 06:16
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

Just noticed you said 7/28 - you want a 7/29 build, but it looks like it didn't complete. Look for it later today.
Reply With Quote
  #7  
Old 29th Jul 2011, 14:00
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

Just a quick note to point out, if you haven't already seen it, there is now a nightly build dated July 29. Please let us know if you continue to see this behavior with this build.
Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal scrollbar for treegrid inside tab and nesting layout alo Smart GWT Technical Q&A 6 7th Mar 2011 12:41
Any way to supress the dataset not completely loaded message in dev mode? jay.l.fisher Smart GWT Technical Q&A 2 14th Nov 2010 11:28
ListGrid Summary Values and Tab Key in SmartGWT 2.0 ccagle Smart GWT Technical Q&A 2 6th Feb 2010 17:22
Horizontal scrollbar for treegrid cannot show up when having the Zindex set mmfish Smart GWT Technical Q&A 1 15th Oct 2009 20:26

© 2010,2011 Isomorphic Software. All Rights Reserved