0 Replies Latest reply on Feb 7, 2011 5:39 AM by flx23

    advancedatagrid selected item issue


      Hi all


      I have a datagrid and further in it i have mx:AdvancedDataGridColumn  containing the image control


      overall on click of this image the detail is to be displayed of the particular row containing this image.Like data grid has 4 rows i clicked the image of 2 row so here i want to access the value of other columns of the this row whose image i click which i do by writing this :-




      but here the selecteditem comes to be null and gives error at this line


      <mx:AdvancedDataGridColumn  headerText="City" dataField="strCityName" width="200"/>

      <mx:AdvancedDataGridColumn  headerText="Dealer Name" dataField="strDealerName" width="200"/>

      <mx:AdvancedDataGridColumn sortable="false"  width="50">





      <mx:Image id="lnkDetails" source="@Embed(source='../../Assets/details.gif')" click="outerDocument.PropertyDetails(event)"  />







      How to access the selected item here please help