datagrid - [WPF ToolKit: How to set selected value from combobox to the current cell? -
I am using the following code to bind Contabrid in Dblupif.
But when I selected value out of thee Comboboks tab and select the items grid.
I want to set the selected value currently Detaat Ditgrid.
& lt; Dg: DataGridComboBoxColumn.ItemsSource & gt; & Lt; Col: ArrayList & gt; & Lt; Sys: string & gt; & Lt; / Sys: string & gt; & Lt; Sys: string & gt; B & lt; / Sys: string & gt; & Lt; Sys: string & gt; C & lt; / Sys: string & gt; & Lt; Sys: string & gt; D & lt; / Sys: string & gt; & Lt; Sys: string & gt; E & lt; / Sys: string & gt; & Lt; / Col: ArrayList & gt; & Lt; / DG: DataGridComboBoxColumn.ItemsSource & gt; & Lt; / DG: DataGridComboBoxColumn & gt; Please be required.
Try it
& lt; dg: DataGridComboBoxColumn SelectedValueBinding = "{Binding PRODUCTID}" SelectedValuePath = "ProductID" DisplayMemberPath = "ProductName" Header = "product" width = "135" items Source = "{Binding Source = {static resource product}}" Selected Itmbing = " {Binding product} "& gt; & Lt; DG: DataGridComboBoxColumn.EditingElementStyle & gt;
Comments
Post a Comment