2 Replies Latest reply on Sep 30, 2008 12:58 PM by ntsiii

    I think it should be easy to get column headers and specific row text items

    nikos101 Level 2
      I think it should be easy to get column headers and specific row text items than having to do things like this in datagridevents:

      <mx:itemFocusOut>
      <![CDATA[


      if((event.itemRenderer as TextInput).text != initialDatagridItemText){
      var field:String = (event.target as DataGrid).columns[event.columnIndex].dataField;
      var currencyID:int = (event.target as DataGrid).dataProvider[event.rowIndex].currencyID;
      myService.updateField(field,currencyID,(event.itemRenderer as TextInput).text);
      }
      ]]>
      </mx:itemFocusOut>


      event.datafield should not be null inside this listener. Something flex should fix