Unhide column or row set change the status of GridViewToggleRowDetailsColumn

1 posts, 0 answers
  1. Yimin
    Yimin avatar
    6 posts
    Member since:
    Oct 2011

    Posted 21 Oct 2011 Link to this post

    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


Back to Top