0 Replies Latest reply on Oct 26, 2006 5:00 AM by janus3max

    Question about Datagrid component

    janus3max
      I have met toubles with using datagrid component, Would you please give me a hand?

      using following scripts i can add columns to datagrid:

      on startMovie
      sprite("datagridInsname").addColumn("UserName")
      sprite("datagridInsname").addColumn("Address")
      end

      but i donot know how to add items to datagrid, e.g.
      sprite("datagridInsname").addItem({UserName:"Tom",Address:"new york"})
      --it does not work

      help me plz.
      thanks a lot.