5 Replies Latest reply on Nov 30, 2006 3:53 AM by TimP06

    using attributes in Datagrid - beginner

    TimP06
      Hi - I'm new to Flex and just trying to get a grounding. I'm hoping my problem is simple. I'm following the RSSViewer tutorial but changing the XML to suit my needs. I'd like to use attributes in the columns of a datagrid. eg

      <root>
      <book CP="23" CPDESC="The Hobbit"/>
      <book CP="24" CPDESC="The Lord of the Rings"/>
      <book CP="249" CPDESC="Web Designers Bible"/>
      </root>

      I know to use the dot notation if its nodes but how do I get hold of these attributes. I'm trying to use.@ but as of yet get nothing but blanks.

      If anyone could point me in the right direction I'd be very grateful.

      Cheers