Try setting the selectedCells to null.
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Does it work for regular DataGrid? If not, post your code. If it only > fails for ADG, please file a bug and post the bug number > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of superabe superabe > Sent: Sunday, December 09, 2007 3:01 AM > To: [email protected] > Subject: Re: [flexcoders] Re: programatically deselect cells in an > AdvancedDataGrid (bump) > > > > Thats what I had hoped would happen too, unfortunately thats not the > case with the ADG. > Setting selectedIndices to an empty array seems to have no effect on the > ADG. It looks like a bug at this point. > > -superabe > > On Dec 8, 2007 4:49 PM, David Spurr <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > > In the standard datagrid (so I assume it's not different for the > AdvancedDataGrid as I haven't played with it yet,) you just need to set > the selected indices to an empty array. To all select all and select > none as a global feature in our app I simply made a DataGridUtil class > with static methods of selectAll( dataGrid:DataGrid ) & selectNone( > dataGrid:DataGrid ) >

