The gridview can't visible the gridviewcell correctly when I scorll the scorllViewer in gridview .
the first pictrue is before scrolling,and the second one is after scrolling
GridViewRow s = ((GridViewRow)RadGridView1.ItemContainerGenerator.ContainerFromIndex(0)); |
if (s != null) |
{ |
GridViewCellBase j = |
(from c in s.Cells where c.Column.Name == "email" select c).FirstOrDefault(); |
if (j != null) |
{ |
j.Visibility = Visibility.Hidden; |
} |
} |