Hello!
I have 20 views with SfDataGrid. All views must have a column the checkbox for selection.
I want to create a universal column for selections for all SfDataGrid in my views.
I would like to create the same column as Telerik's RadGridView.
See the link below:
ttp://docs.telerik.com/devtools/wpf/controls/radgridview/columns/columntypes/column-types-select-column
I know that SfDataGrid has a GridCheckBoxColumn column but I do not want to bind to a model.
I want the new column datagridselectcolumn to bind this SelectedItems property in SfDataGrid.
Regards,
Jarek
Hello!
I know about it but this solution does not satisfy me.
Please read my message again.
Hello!
I am very happy with this. In my opinion, the GridSelectionColumn column will make it easier to work with complex applications.
I think the GridSelectionColumn column is a fundamental feature in DataGrid.
Regards,
Jarek
Hello,
Hello,
<syncfusion:SfDataGrid x:Name="dataGrid" AutoGenerateColumns="False"
ItemsSource="{Binding Orders}">
<syncfusion:SfDataGrid.Columns>
<syncfusion:GridCheckBoxSelectorColumn MappingName="SelectorColumn" />
</syncfusion:SfDataGrid.Columns>
</syncfusion:SfDataGrid> |
this.dataGrid.Columns.Add(new GridCheckBoxSelectorColumn()
{
MappingName = "SelectorColumn"
}); |