Hi,
I want to show the details for a specifict row in the grid. I can do this today if I have a button in one cell in the row like this:
I want to show the details for a specifict row in the grid. I can do this today if I have a button in one cell in the row like this:
Button
arr = (Button)sender;
parentRow = arr.ParentOfType<Telerik.Windows.Controls.GridView.
GridViewRow>();
//Toggle-like functionality
if (parentRow.DetailsVisibility == Visibility.Visible)
parentRow.DetailsVisibility =
Visibility.Collapsed;
else
parentRow.DetailsVisibility =
Visibility.Visible;
But I want to open the details from anywhere. For example I have a button which add a new post in the grid and I want to open this post/rows details. How do I do that?
Thanks,
/R