I have not used data grids myself but found this on MSDN.
There is a CurrentCell property in DataGrid that allows you to set the focus
to a cell. Try setting the current cell to the one in the row that you want
to have focus.
Eg: myGrid.CurrentCell = new DataGridCell (row_number, column_number);
You might want to see the MSDN link @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref...ml/frlr
Thanks,
Devi J V [MSFT]
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"David de Passos" <passos RemoveThis @rcsoft.pt> wrote in message
news:ei$ixUDGFHA.1392@tk2msftngp13.phx.gbl...
> Hi!
> How can set the Row(0) the FocusedRow?
> The Select funtion only select a row, but I want Focus a Row.
>
> --
>
>
> Cumprimentos,
> David de Passos
> --------------------------------------------------------------
> RCSOFT, Lda.
> E-Mail: passos RemoveThis @rcsoft.pt
> Móvel: +351 966931639
> Telefone: +351 239708708
> Fax: +351 239708701
> Tel. Directo: +351 239708705 ext. 401
>