pashminakazi commented on issue #1007: URL: https://github.com/apache/royale-asjs/issues/1007#issuecomment-751215960
Sorry, Example Zip: https://drive.google.com/file/d/141cTBvSKM67ZM3klbQCGLb-rPqj63pNE/view?usp=sharing Ok I will explain in words but please this example as well There are 2 different ways of using fx:Array in AdvancedDataGrid 1) Create AdvancedDataGrid with mx:columns and within mx:columns using fx:Array in the same class which is working in Royale ``` <mx:AdvancedDataGrid allowMultipleSelection="true" height="100%" horizontalScrollPolicy="auto" id="dg_main" dataProvider="{dpFlat}" selectable="true" verticalScrollPolicy="auto" width="100%"> <mx:columns> <fx:Array id="dgColumns"> <mx:AdvancedDataGridColumn id="TypeID" width="70" dataField="type" headerText="Type" visible="false"/> <mx:AdvancedDataGridColumn width="40" dataField="seq" headerText="Seq" visible="false"/> </fx:Array> </mx:columns> </mx:AdvancedDataGrid> ``` 2) The problem I am facing with fx:Array is I created an MXML class with AdvancedDataGrid without any columns there E.g BaseTabPlainTable.mxml There are another MXML class SubscriberServices.mxml which is extending BaseTabPlainTable.mxml and the columns are created in SubscriberServices.mxml within fx:Array tag but the columns are not shown on screen. This example has all related files with my scenario and the scenario is created in that example, Please make this example working as I tried every possible change but nothing works in my scenario Thank u so much ---------------------------------------------------------------- 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]
