0 Replies Latest reply on Jul 1, 2010 12:08 PM by suriandflex

    link in <mx:HierarchicalData>

    suriandflex

      Hi,

       

      I have the following Array

       

      var dpFlat:ArrayCollection = new ArrayCollection([
                      {Months:"Jan 2009 - Feb 2009",children: [
                                   {Months:"Jan 2009", Amount:"$100",Paid:"YES",Waived:"NO", Waiver_Reason:"", Override_Reason:"",EDG:""},
                                   {Months:"Feb 2009", Amount:"$100",Paid:"YES",Waived:"NO", Waiver_Reason:"", Override_Reason:"",EDG:""}]},
                      {Months:"Mar 2009 - Apr 2009",children: [
                              {Months:"Mar 2009", Amount:"$100",Paid:"NO",Waived:"YES", Waiver_Reason:"Emergency", Override_Reason:"",EDG:""}, 
                              {Months:"Apr 2009", Amount:"$100",Paid:"NO",Waived:"YES", Waiver_Reason:"Emergency", Override_Reason:"",EDG:""}]},
                  ]);

       

       

      and displaying using

       

      <mx:AdvancedDataGrid id="myADG" width="100%" height="246" x="1" y="25">   
                                  <mx:dataProvider>
                                      <mx:HierarchicalData source="{dpFlat}"/>
                                  </mx:dataProvider>
                                  <mx:columns>
                                      <mx:AdvancedDataGridColumn dataField="Months" fontWeight="bold"/>
                                      <mx:AdvancedDataGridColumn dataField="Amount"/>
                                      <mx:AdvancedDataGridColumn dataField="Paid"/>
                                      <mx:AdvancedDataGridColumn dataField="Waived"/>
                                      <mx:AdvancedDataGridColumn dataField="Waiver_Reason" headerText="Waiver Reason"/>
                                      <mx:AdvancedDataGridColumn dataField="Override_Reason" headerText="Override Reason"/>
                                      <mx:AdvancedDataGridColumn dataField="EDG" />
                                         
                                  </mx:columns>
                              </mx:AdvancedDataGrid>

       

      The problem is I need to display a Link in EDG column, can anybody please let me know how this can be achieved.

       

      Thanks