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

Bind RadGridView.GroupHeaderTemplate for WPF

1 Answer 13 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ajay
Top achievements
Rank 1
Ajay asked on 27 Apr 2018, 06:25 AM

I have used RadGridView to show data with customize group header by GroupHeaderTemplate. I have used grouping on single column and based on that it shows the group header but not able to bind it. I had searched related to this but not found any solution. I would like to know how we bind the customized GroupHeaderTemplate from viewmodel?

I have refer below link but it not working -

http://latestupdatedinfo.blogspot.in/2016/05/telerik-wpf-radgridview-group-header.html

can you please provide sample example?

Thanks

1 Answer, 1 is accepted

Sort by
0
Ajay
Top achievements
Rank 1
answered on 19 Jul 2018, 07:31 AM
Hi,
The issue is resolved. I have used binding as -   Text="{Binding  Group.Items[0].TestObject.FieldName}". 
Thanks,
Ajay
Tags
GridView
Asked by
Ajay
Top achievements
Rank 1
Answers by
Ajay
Top achievements
Rank 1
Share this question
or