2X faster development
The ultimate WPF UI toolkit to boost your development speed.
You can load button for a column using GridTemplateColumn. You can refer the below article which explains how to bind the button to the command in ViewModel in SfDataGrid. https://www.syncfusion.com/kb/5904 This article explains about how to bind the button with command in ViewModel for details view DataGrid. The DataContext of GridViewDefinition.DataGrid is not same as SfDataGrid. So, you can bind the button to the command in ViewModel using Ancestor binding as in the below code snipet, XAML ViewModel
Sample: |
2X faster development
The ultimate WPF UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.