Checkbox Update in GridView

2 posts, 0 answers
  1. Marcel
    Marcel avatar
    37 posts
    Member since:
    Aug 2011

    Posted 03 Oct 2011 Link to this post


    so i have checkboxes in my gridview. The bool's which are related to this check boxes are updated outside of the grid, but the grid itself is not updating the view unless resize/invalidate the gridview. 

    <telerik:RadGridView HorizontalAlignment="Left" EditTriggers="CellClick"
                                     AutoGenerateColumns="False" DataContext="{Binding Path=_reviewGridVM}" 
                                     Name="ReviewControlGrid" VerticalAlignment="Top" RowDetailsVisibilityMode="VisibleWhenSelected" 
                                     Grid.Column="0" Grid.Row="0" ItemsSource="{Binding Path=answers}">
                        <telerik:GridViewDataColumn Header="#" DataMemberBinding="{Binding Question}"/>
                        <telerik:GridViewDataColumn Header="Accept" DataMemberBinding="{Binding Accept}" />
                        <telerik:GridViewDataColumn Header="Reject" DataMemberBinding="{Binding Reject}" />

    In the code the ItemSource answers is updated, but the grid doesn't update. How can I solve this issue? 

  2. Maya
    Maya avatar
    4062 posts

    Posted 03 Oct 2011 Link to this post

    Hello Chez,

    You need to implement INotifyPropertyChanged Interface. Thus, once a particular property is updated, the grid will be notify and the corresponding value will be updated as well.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top