liju1985 commented on issue #861:
URL: https://github.com/apache/royale-asjs/issues/861#issuecomment-647922580


   fx: is failing. Below is the code.
   `<mx:HBox width="100%" verticalGap="0" paddingBottom="0" 
visible="{commodityModel.showCommodityTable}" 
includeInLayout="{commodityModel.showCommodityTable}" >
                        <mx:Spacer width="15" />
                        <mx:DataGrid
                                id="commodityDG"
                                
rowCount="{commodityModel.commodityList.length}" 
                                dataProvider="{commodityModel.commodityList}"
                                selectable="true"
                                
rowHeight="{commodityModel.commodityTableRowHeight}"
                                variableRowHeight="false"
                                verticalScrollPolicy="off"> 
                                <mx:columns >
                                        <mx:DataGridColumn width="30" 
sortable="false" editorDataField="seclected" resizable="false" 
rendererIsEditor="true" textAlign="center" >
                                                <mx:headerRenderer >
                                                        <mx:Component 
id="commodityTableHeaderCheckbox" >
                                                                <mx:CheckBox 
selected="{outerDocument.commodityModel.headerCheckboxSelected}" 
click="{outerDocument.commodityModel.handleTableHeaderCheckboxAction(this.selected)}"
 />
                                                        </mx:Component>
                                                </mx:headerRenderer>
                                                <mx:itemRenderer >
                                                        <mx:Component >
                                                                <mx:CheckBox 
selected="{data.isSelected}"  paddingLeft="8" 
click="{outerDocument.commodityTableRowCheckBoxAction(this.selected)}"  />
                                                        </mx:Component>
                                                </mx:itemRenderer>
                                        </mx:DataGridColumn>
                                        <mx:DataGridColumn dataField="name" 
width="368" sortable="false" resizable="false" rendererIsEditor="true" 
textAlign="center"  >
                                                <mx:headerRenderer >
                                                        <mx:Component >
                                                                <mx:Label 
text="{resourceManager.getString('AllResources','commodity.name')}" />
                                                        </mx:Component>
                                                </mx:headerRenderer>
                                                <mx:itemRenderer >
                                                        <mx:Component >
                                                                <mx:TextArea 
backgroundAlpha="0" editable="false" selectable="false" wordWrap="true" 
text="{data.displayName}" textAlign="left"  />
                                                        </mx:Component>
                                                </mx:itemRenderer>
                                        </mx:DataGridColumn>
                                        <mx:DataGridColumn 
dataField="customsValue" rendererIsEditor="true" width="250" sortable="false" 
resizable="false" textAlign="center" >
                                                <mx:headerRenderer >
                                                        <mx:Component >
                                                                <mx:Label 
text="{resourceManager.getString('AllResources','commodity.customsValueWithCurrency',outerDocument.commodityModel.currencyValue)}"
 />
                                                        </mx:Component>
                                                </mx:headerRenderer>
                                                <mx:itemRenderer >
                                                        <mx:Component >
                                                                <mx:Label 
text="{data.customsValue}" textAlign="right"  />
                                                        </mx:Component>
                                                </mx:itemRenderer>
                                        </mx:DataGridColumn>
                                </mx:columns>                           
                        </mx:DataGrid>
                </mx:HBox>`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to