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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -