2 Replies Latest reply on Aug 20, 2007 10:00 AM by flexPro

    Array Collection not updating to datagrid quick enough***

    Bob Saggot Level 1
      What i do is have an arraycollection for my datagrid ( of course)

      I have a dragdrop event for my datagrid, that takes a drag event. so...

      drop="dragdrop(event)"

      private function dragdrop(event:Dragevent)
      {
      var num:Number = DATAGRIDNAME.calculateDropIndex(event); ///gets the index it was dropped into datagrid
      }

      This gets the correct index it was dropped in.. BUT when I say arrayCollectionName.getItemAt(num); it will not find the object in the array collection, I beleive it doesn't load in the array collection TIL AFTER all methods have been ran for the datagrid

      Anybody know a fix to this?