Skip to content


Clearing selected Item from DataGrid

When you select a row/rows in dataGrid component in flash mx 2k4 and want to clear it, all you need is *selectedIndex* property of dataGrid component.

myDataGrid.selectedItem = null;
// This will clear out all selected rows.

I actually struggled to find it out, but it turned out to be that easy. :)

Posted in News.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.