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

Hierarchical radgridview two way databinding

1 Answer 113 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Harald Nielsen
Top achievements
Rank 1
Harald Nielsen asked on 14 Apr 2010, 10:01 AM
Hi, Having alot of troubles with this and hope you guys can give me some pointers how to resolve this.

I have a DTO that implements INotifyPropertyChanged that fires when a bool is changed. Ex:
private class IssueMessageGridView : INotifyPropertyChanged 
        { 
             

            private bool _marked; 
            public bool Marked 
            { 
                get 
                { 
                    return _marked; 
                } 
                set
 
                    _marked = value; 
 
                    if (PropertyChanged != null
                    { 
                        PropertyChanged( thisnew PropertyChangedEventArgs("Marked")); 
                    } 
                     
                } 
            } 
            public event PropertyChangedEventHandler PropertyChanged; 
        } 
 

This bool is databinded to a checkboxcolumn.

This I will use to multiselect rows from child grids. So when the user click on a child grid row, is will get marked. And then selects a row from another child grid view, this will get selected also. This is not supported in the radgridview.multiselect property.

I updated the Marked property on the IssueMessageGridView in a selection changed event fired method. But when the selection to another child grid view, the unselected grid is not updated even when the PropertyChanged event is fired on that object.

How do I update a child grid view thats not selected..?

Regard Harald

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 15 Apr 2010, 09:59 AM
Hi Harald Nielsen,

The information you have sent us is not enough to understand the exact problem. Please send us your application in the other ticket you have opened and describe in detail the desired behavior. I am looking forward to your reply.

 

Best wishes,
Jack
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Harald Nielsen
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or