link in <mx:HierarchicalData>
hi,
i have 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 need display link in edg column, can please let me know how can achieved.
thanks
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment