Hi, sorry for the title of this thread, I know that is might be not the most appropiate.
I have a HeaderedContentControl with a RadGridView inside. I need to play with the visibility of each row according to the RowDetailsVisibilityChanged event. The problem raises when, due to the number of the items, some rows are not displayed in the container control. I use the following code to get all the rows, but it returns me only the displayed rows:
Is there any way to get ALL the rows??
Thanks in advance
I have a HeaderedContentControl with a RadGridView inside. I need to play with the visibility of each row according to the RowDetailsVisibilityChanged event. The problem raises when, due to the number of the items, some rows are not displayed in the container control. I use the following code to get all the rows, but it returns me only the displayed rows:
foreach (var item in RadGridViewUsers.Items)
{
Telerik.Windows.Controls.GridView.GridViewRow row = (RadGridViewUsers.ItemContainerGenerator.ContainerFromItem(item) as Telerik.Windows.Controls.GridView.GridViewRow);
if (row != null)
{
if (row.Equals(e.Row))
row.IsSelected = true;
else
{
row.IsSelected = false;
row.IsEnabled = false;
}
}
}
Is there any way to get ALL the rows??
Thanks in advance