Hi,
Please bear with me as I am a newbie to WPF and we are evaluating RadGridView as part of a new development project. I have a issue with filtering and grouping on columns.
I have another Grid with Contact information with and a related table that stores other contact information, such as address details. If I have the Grid bound to a datarecord type of Contact and want to have related columns such as Address.Line1, Address.Line2 displayed on the parent GridRow. What is the best way to acheive this? I can get the information display but my issue is that I can not use the Filter or Groups on the Address columns. I have attached some simple code behind that I am using, Name works as expected, however Address.Line1 displays data but can not use filtering or the grouping functionality
Please bear with me as I am a newbie to WPF and we are evaluating RadGridView as part of a new development project. I have a issue with filtering and grouping on columns.
I have another Grid with Contact information with and a related table that stores other contact information, such as address details. If I have the Grid bound to a datarecord type of Contact and want to have related columns such as Address.Line1, Address.Line2 displayed on the parent GridRow. What is the best way to acheive this? I can get the information display but my issue is that I can not use the Filter or Groups on the Address columns. I have attached some simple code behind that I am using, Name works as expected, however Address.Line1 displays data but can not use filtering or the grouping functionality
private void SetupGridView() | |
{ | |
myGridView.Columns.Add(new GridViewDataColumn() | |
{ | |
HeaderText = "Name", | |
UniqueName = "Name", | |
DataMemberBinding = new Binding("Name") | |
}); | |
myGridView.Columns.Add(new GridViewDataColumn() | |
{ | |
HeaderText = "Address Line 1", | |
UniqueName = "Address.Line1", | |
DataMemberBinding = new Binding("Address.Line1"), | |
IsFilterable = true | |
}); | |
} |
Any help is greatly appreciated.
Glen