I have a Panel with a Tab Navigator and two Divided Boxes with DataGrids.

I am not sure why I can't get dgShorts to load properly... any ideas?
It will only load if it's brought to the to front before I bind it to
the array collection, whereas the dgResults (first) datagrid will load
fine either first or second.
CS


        <mx:Panel id="closedOrd" 
                    label="Closed Orders"
                        title="Closed Trades"
                        horizontalScrollPolicy="off"  
                        verticalAlign="left"
                        width="30%" 
                        height="100%"
                        borderStyle="none" 
                        backgroundAlpha="0.32">
        <mx:TabNavigator id="vwResults" 
                        width="100%" 
                        height="100%" 
                        borderStyle="none"
                        selectedChild="{shResults}" >
                <mx:VDividedBox id="lgResults"
                         label="Long"
                         styleName="divBox"
                         width="100%"
                         height="100%"
                         horizontalAlign="left" 
                         click="rsClick()">
                        <comp:DgResults id="dgResults"
                                width="100%" height="40%" 
                            textAlign="center">
                        </comp:DgResults>
                                <comp:OrdForm id="Order"/>
                </mx:VDividedBox>
                <mx:VDividedBox id="shResults"
                         label="Short"
                         width="100%"
                         height="100%"
                         styleName="divBox" 
                         horizontalAlign="left"
                         click="shClick()">
                         <comp:DgShorts id="dgShorts"
                                width="100%" height="40%"
                            textAlign="center">
                         </comp:DgShorts>
                         <comp:ShOrdForm id="shOrder"/>
                </mx:VDividedBox> 
        </mx:TabNavigator>
        </mx:Panel>


Reply via email to