0 Replies Latest reply on Jul 13, 2006 11:02 PM by emiltso

    Datagrid click change state

      Hello, I am brand new to Flex and hope anyone can help me out on this...

      I have this datagrid link in the application:

      <mx:DataGrid id="src2grid"
      <mx:DataGridColumn dataField="Pro"/>
      <mx:DataGridColumn dataField="Type"/>
      <mx:DataGridColumn dataField="Agr"/>

      linking to an external data.as file:

      src2grid.dataProvider = [
      {Pro:'MSC', Type:'ABC.', Agr:'75560627-7605053'},
      {Pro:'CSU', Type:'AAA', Agr:'13499110ZZS0403-13541087'},
      {Pro:'DDD', Type:'SCC', Agr:'84499110ZZS0403-14847350'},

      What's the best way to add links to each item to show a different state in the same application? Is there anyway to have different links for values in the Pro column and Type column?

      Thanks so much for any help.