1 Reply Latest reply on Apr 28, 2008 5:58 PM by ntsiii

    DataGrid reseting?

    Dizzia Level 1
      Quirky question. Whenever I add anything to my datagrid, the selectedIndex resets. Is there anyway to add something and keep the selectedIndex selected after the refresh?
        • 1. Re: DataGrid reseting?
          ntsiii Level 3
          No, you need to store the index in an instance var, then assign that to selectedIndex after you have reset the dataProvider.

          Note, this only happens when you set the entire dataProvider. If you use the API to update individual item.properties, the entire greid soes not redraw.

          Tracy