3 Replies Latest reply on Jun 18, 2009 5:51 AM by Zolotoj

    Clear selected item in datagrid

    Zolotoj Level 3

      I am using this code to clear selectedItem in a datagrid:

       (var i:int=0;i<custcontacts.columns.length;i++)     custcontacts.dataProvider
           [custcontacts.selectedIndex][custcontacts.columns[i].dataField] = 

      But data on the screen is not going away while tracing dataProvider shows that it does not have the data.

      Can someone explain why it works like this?