This question is locked. New answers and comments are not allowed.
did not selected row after update cell content
I do as follows:
so click the updated row , but row can not selected.
thanks.hope your help
I do as follows:
gridView xaml:EnableColumnVirtualization="False" EnableRowVirtualization="False"code behind: foreach (var item in SelectedDataGrid.Items) { GridViewRow row = (SelectedDataGrid.ItemContainerGenerator.ContainerFromItem(item) as GridViewRow); if (row != null) { row.GetCellFromPropertyName("Price").Content = LastPrice.ToString("#,##0.00");row.GetCellFromPropertyName("Price").Foreground = new SolidColorBrush(Colors.Green); } }so click the updated row , but row can not selected.
thanks.hope your help