BoldDeskBoldDesk is now live on Product Hunt with a special offer: 50% off all plans. Let's grow together! Support us.
Hi Andreas,
Thanks for contacting syncfusion support.
We have analyzed your query.You can achieve the requirement by setting ViewModel as source value for the binding. We have created a simple sample to achieve this requirement and please check the sample under the following location,
Sample: http://www.syncfusion.com/downloads/Support/DirectTrac/110157/Headerbinding-1493656320.zip
Please let us know if you need further assistance.
Thank you,
Jai Ganesh S
Hi Jason,
You can achieve your requirement by using ElementName Binding as shown in the following code snippet.
<syncfusion:SfDataGrid.Columns> <syncfusion:GridTextColumn MappingName="EmployeeId" HeaderText="{Binding ElementName=datagrid, Path=DataContext.CustomHeaderText, Mode=TwoWay}"/> </syncfusion:SfDataGrid.Columns> |
We have created a sample to achieve this requirement and please check the following sample link.
http://www.syncfusion.com/uploads/user/directTrac/120528/Headerbinding-1069340575.zip
Please let us know if you require further assistance
Thanks,
Ashok