This is a migrated thread and some comments may be shown as answers.

Unhide column or row set change the status of GridViewToggleRowDetailsColumn

0 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Yimin
Top achievements
Rank 1
Yimin asked on 21 Oct 2011, 08:04 PM
Hi,

I have radgridview that I hide and disable the GridViewToggleRowDetailsColumn according to the item value bound to the row like this:

 

void ProfileLayoutGrid_RowLoaded(object sender, RowLoadedEventArgs e)

{
....

     e.Row.ChildrenOfType<

 

GridViewCell>().First().Opacity = isContinuous ? 0 : 1;

 
e.Row.ChildrenOfType<

GridViewCell>().First().IsEnabled = !isContinuous;
...
}

It works fine until I unhide some columns by setting Column.IsVisible = true. This would bring back the hidden GridViewToggleRowDetailsColumn cells.

This should be a bug in Radgridview with easy repro. Would you mind let me know if you have a fix?

Thanks,
Yimin


No answers yet. Maybe you can help?

Tags
GridView
Asked by
Yimin
Top achievements
Rank 1
Share this question
or