title: Spark Datagrid Percentage Width Columns
body: <p>I'd like to apply percent width for columns as I done after with mx: datagrid columns.</p>
  
  <p>I try several tests : </p>
  
  <pre><code>&lt;s:DataGrid id="dgTuVous" fontWeight="normal" 
                                          dataProvider="{DP_PRAT_INIT}"
                                          width="100%" height="100%" 
                                          horizontalScrollPolicy="on"
                                          fontSize="10"
  
                                          &gt;
                                  &lt;s:columns&gt;
                                      &lt;s:ArrayList&gt;
                                          &lt;s:GridColumn dataField="prInitiales" width="40%" headerText="Prat" /&gt;
                                          &lt;s:GridColumn  width="60%" dataField="prTuVous"
                                                        headerText="Tu/Vous"&gt;
                                              &lt;s:itemEditor&gt;
                                                  &lt;fx:Component&gt;
                                                      &lt;s:ComboBoxGridItemEditor&gt;
                                                          &lt;s:dataProvider&gt;
                                                              &lt;s:ArrayList&gt;
  
                                                                  &lt;fx:String&gt;Tu&lt;/fx:String&gt;
                                                                  &lt;fx:String&gt;Vous&lt;/fx:String&gt;
                                                              &lt;/s:ArrayList&gt;
                                                          &lt;/s:dataProvider&gt;
                                                      &lt;/s:ComboBoxGridItemEditor&gt;
                                                  &lt;/fx:Component&gt;
                                              &lt;/s:itemEditor&gt;
                                          &lt;/s:GridColumn&gt;
  
                                      &lt;/s:ArrayList&gt;
                                  &lt;/s:columns&gt;
                              &lt;/s:DataGrid&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;s:DataGrid id="dgTuVous" fontWeight="normal" 
                                          dataProvider="{DP_PRAT_INIT}"
                                          width="100%" height="100%" 
                                          horizontalScrollPolicy="on"
                                          fontSize="10"
  
                                          &gt;
                                  &lt;s:columns&gt;
                                      &lt;s:ArrayList&gt;
                                          &lt;s:GridColumn dataField="prInitiales" width=".4" headerText="Prat" /&gt;
                                          &lt;s:GridColumn  width=".6" dataField="prTuVous"
                                                        headerText="Tu/Vous"&gt;
                                              &lt;s:itemEditor&gt;
                                                  &lt;fx:Component&gt;
                                                      &lt;s:ComboBoxGridItemEditor&gt;
                                                          &lt;s:dataProvider&gt;
                                                              &lt;s:ArrayList&gt;
  
                                                                  &lt;fx:String&gt;Tu&lt;/fx:String&gt;
                                                                  &lt;fx:String&gt;Vous&lt;/fx:String&gt;
                                                              &lt;/s:ArrayList&gt;
                                                          &lt;/s:dataProvider&gt;
                                                      &lt;/s:ComboBoxGridItemEditor&gt;
                                                  &lt;/fx:Component&gt;
                                              &lt;/s:itemEditor&gt;
                                          &lt;/s:GridColumn&gt;
  
                                      &lt;/s:ArrayList&gt;
                                  &lt;/s:columns&gt;
                              &lt;/s:DataGrid&gt;
  </code></pre>
  
  <p>But any works.</p>
  
  <p>First example create flex errors and with second, first columns is invisible.</p>
  
  <p>Thanks for helping.</p>