1 Reply Latest reply on Oct 12, 2008 6:48 AM by Newsgroup_User

    Creating an empty datagrid

    jcahill23 Level 1
      Hi.

      Just wanted some help on the best way to create an empty data grid with 6 columns across and 12 rows down....trying to use it a bit like a spreadsheet that i'll keep editable.

      Thanks
        • 1. Re: Creating an empty datagrid
          Level 7

          "jcahill23" <webforumsuser@macromedia.com> wrote in message
          news:gcsj4n$pb3$1@forums.macromedia.com...
          > Hi.
          >
          > Just wanted some help on the best way to create an empty data grid with 6
          > columns across and 12 rows down....trying to use it a bit like a
          > spreadsheet that i'll keep editable.

          Create an ArrayCollection with 12 objects in it that each have 6 empty
          properties, then use that as the dataProvider.