cristallium opened a new issue #704: DataGrid Jewel columWidth has no effect 
sdk 0.9.7
URL: https://github.com/apache/royale-asjs/issues/704
 
 
   Hi Carlos,
   It seems that columnWidth doesn't working. (I hope this time I 'm not 
bothering you for nothing)
   
   Here is a test case :
   
   ```
   <j:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                   xmlns:js="library://ns.apache.org/royale/basic" 
                   xmlns:j="library://ns.apache.org/royale/jewel" 
                   >
       <j:initialView>
           <j:View initComplete="ev_initComplete()">
               <j:DataGrid localId="dg" width="260" height="500">
                   <j:beads>
                       <j:AddDataGridItemRendererForArrayListData/>
                       <j:RemoveDataGridItemRendererForArrayListData/>
                       <j:UpdateDataGridItemRendererForArrayListData/>
                       <j:RemoveAllDataGridItemRendererForArrayListData/>
                   </j:beads>
                   <j:columns>
                       <j:DataGridColumn label="Date" dataField="label" 
columnWidth="60"/>
                       <j:DataGridColumn label="Px. H.T." dataField="d1" 
columnWidth="200" />
                   </j:columns>
               </j:DataGrid>
           </j:View>
       </j:initialView>   
   
   
       <fx:Script>
           <![CDATA[
               import org.apache.royale.collections.ArrayList;
   
               private function ev_initComplete():void {
                   dg.dataProvider =  dg.dataProvider = new ArrayList([
                       {label:'label1', d1:'data1'},
                       {label:'label2', d1:'data2'},
                       {label:'label3', d1:'data3'}
                   ]);
               }
           ]]>
       </fx:Script>
   </j:Application>
   ```
   
   
![image](https://user-images.githubusercontent.com/6851433/73481328-eb022680-439b-11ea-9603-4ea57b443801.png)
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to