Hi Tun,
Sorry for the inconvenience caused.
The MoveRows method useful to see the item visually at particular position. To move the row permanently to a particular position, you need to modify the item position of underlying Collection as follows,
private void Button_Click(object sender, RoutedEventArgs e)
{
if (this.datagrid.Model[5, 0].CellValue.ToString() == "Carl")
{
Collection.Move(4, 0);
}
}
We have prepared a sample based on this. Please find in the following location.
Please let us know if you have any queries.
Regards,
Deenadhayalan
99715_GridDataVisible_MoveRows_b803ca9b.zip