2 Replies Latest reply on May 24, 2010 9:53 AM by alexlizn

    dataProvider add item before or after selected row

    alexlizn

      Hi, guys,

      As we know, we may add an item to a data grid by just call

       

      dg1.dataProvider.addItem(x:object)

       

      I wonder if there is a specific function like addItemAt(x:object, y:int) which takes an additional index number as parameter

       

      Eventually, users wanna add a new row before or after the selected row in the data grid.

       

      Thanks!

      Alex