wpf - DataGridComboBoxColumn Dynamic Binding -


i have datagrid combobox column. want bind column list of items generate dynamically in code-behind file. rows of datagrid have same list of items in combobox column. have done static binding using objectdataprovider, not sure how dynamically.

any appreciated!

thank you, santosh

you can use observablecollection<t> items, if bind itemssource of datagrid collection can dynamically items collection , added datagrid. see collections binding section on msdn more info. if not looking might want elaborate question still seems quite unclear (at least me).


Comments

Popular posts from this blog

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -