0

Here is the hierarchy of my controls:

<Canvas  width="100%" height="100%">
  <ViewStack  width="100%" height="100%">
     <box id="box1" width="100%" height="100%">
       <AdvancedDataGrid width="100%" height="100%"/>
     </box>
     <box id="box2" width="100%" height="100%">
       <SomeOtherControl width="100%" height="100%"/>
     </box>
</ViewStack>
</Canvas>

My ADG is having around 30 - 40 columns and i am seeing two horizontal scroll bars, 1 is coming from ADG which is ok but another one is coming from parent container, so it seems ADG's width is getting assigned more than the parent container.

I can't set the width of ADG to explicit value because it is causing problems in scaling.

Please advise/Help.

1 Answers1

0

This is another one of those "quirks" of the ADG. One thing that has worked for us in the past is setting <AdvancedDataGrid width="{parentContainer.width}" height="100%"/>

flexicious.com
  • 1,601
  • 1
  • 13
  • 21