myDataGrid.selectedIndex = -1; should do it. HTH, Ben
--- In [email protected], "tang81285" <[EMAIL PROTECTED]> wrote: > > > Hi, guys, > > I encountered a problem here, after we select a row on a datagrid, can > we deselect(or do not highlight) this row when we mouse click on other > parts(except the datagrid area) of screen? > > thanks. >

