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

Reply
 
Thread Tools Search this Thread
  #1  
Old 13th Feb 2007, 09:44
tgochenour tgochenour is offline
Registered Developer
 
Join Date: Jan 2007
Posts: 135
Default Grid inside a StackSections.

I have a series of StackSections, one for every element with children in my XML document. If the children are leaf nodes (simple fields) then I display a DynamicForm. If the children contain a list of similar children I then display a ListGrid.

To get scrollbars, I've set the StackSection overflow to "visible" and the parent canvas has overflow set to "auto".

Problem: The ListGrid isn't demanding the space it requires for display and so the sections that contain them are shrinking to try and fit within the parent canvas.

How do I get the ListGrid to enforce it's required height?
Reply With Quote
  #2  
Old 13th Feb 2007, 09:48
tgochenour tgochenour is offline
Registered Developer
 
Join Date: Jan 2007
Posts: 135
Default bodyOverflow

I've found the ListGrid.bodyOverflow property that will do the trick.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved