Hello everyone,
in my WPF application, the user can add a new line, so I added in the definition of the DataGrid:
CanUserAddRows = "True"
In the current structure of the DataGrid are 6 columns:
1) the first two are not editable (so do not expect a <DataGridTemplateColumn.CellEditingTemplate> in XAML
2) the others are editable via Combobox (prevendono a <DataGridTemplateColumn.CellEditingTemplate> in XAML with relative ComboBox)
In the case in which the user must add a new row, should select the values of the various columns via Combobox populated by DB.
According to you, what would be the best solution for this purpose?
Thank You.