<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WPF DataGrid – Dynamically updating DataGridComboBoxColumn</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx</link><description>The Scenario I want to do a master detail like scenario where the selection in one ComboBox cell will update the list of items in the next ComboBox cell and so on. Setting up the DataSource and ViewModel I will use the Northwind database for this example</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: WPF DataGrid – Dynamically updating DataGridComboBoxColumn</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx#9252344</link><pubDate>Thu, 25 Dec 2008 06:19:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9252344</guid><dc:creator>Kaschan</dc:creator><description>&lt;p&gt;Hi vinsibal,&lt;/p&gt;
&lt;p&gt;I would like to use a typed DataTable as a data source of DataGrid instead of ObservableCollection. Could you please show me how to implement it?&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;</description></item><item><title>re: WPF DataGrid – Dynamically updating DataGridComboBoxColumn</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx#9280342</link><pubDate>Mon, 05 Jan 2009 16:27:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9280342</guid><dc:creator>vinsibal</dc:creator><description>&lt;p&gt;Kaschan,&lt;/p&gt;
&lt;p&gt;In the sample, one of the windows uses a DataTable.DataView as the data source. &amp;nbsp;Does that help?&lt;/p&gt;
</description></item><item><title>re: WPF DataGrid – Dynamically updating DataGridComboBoxColumn</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx#9287196</link><pubDate>Wed, 07 Jan 2009 14:00:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9287196</guid><dc:creator>Kaschan</dc:creator><description>&lt;p&gt;Hi vinsibal,&lt;/p&gt;
&lt;p&gt;Thanks for your reply, anyway it's not help. I understands that you use DataView as the data source of ComboBox. But my question is about data source of DataGrid.&lt;/p&gt;</description></item><item><title>re: WPF DataGrid – Dynamically updating DataGridComboBoxColumn</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx#9463393</link><pubDate>Fri, 06 Mar 2009 23:21:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463393</guid><dc:creator>Margaret</dc:creator><description>&lt;p&gt;Newbie question:&lt;/p&gt;
&lt;p&gt;WHat if there is more than one row?&lt;/p&gt;
&lt;p&gt;How would one filter the combobox based on another field/property in the same row.&lt;/p&gt;
&lt;p&gt;ie. the combobox itemsource for each row (elementstyle) would have to be different.&lt;/p&gt;
&lt;p&gt;I tried binding the EditingElementStyle to the filtered itemsource, and keep the ElementStyle bound to the non-filtered source - but no matter what I try,&lt;/p&gt;
&lt;p&gt;the text for a selected value on a different row disappears when I change the filter (presumably because that value is no longer present in the current itemsource). &amp;nbsp; &lt;/p&gt;</description></item><item><title>re: WPF DataGrid – Dynamically updating DataGridComboBoxColumn</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx#9463405</link><pubDate>Fri, 06 Mar 2009 23:32:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463405</guid><dc:creator>mplut</dc:creator><description>&lt;p&gt;DUHHH...Never mind - your solution works fine for all rows...I'll just have to look a little more carefully.&lt;/p&gt;</description></item><item><title>.NET 3.5 SP1 and WPF DataGrid CTP are out now!</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx#9543283</link><pubDate>Fri, 10 Apr 2009 17:14:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9543283</guid><dc:creator>Vincent Sibal's Blog</dc:creator><description>&lt;p&gt;UPDATE: the WPF DataGrid v1 has just released. For more information, see this post . The information&lt;/p&gt;
</description></item><item><title>re: WPF DataGrid – Dynamically updating DataGridComboBoxColumn</title><link>http://blogs.msdn.com/vinsibal/archive/2008/12/17/wpf-datagrid-dynamically-updating-datagridcomboboxcolumn.aspx#9648326</link><pubDate>Thu, 28 May 2009 21:12:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9648326</guid><dc:creator>David Montejo</dc:creator><description>&lt;p&gt;I've trying to populate a DataGridComboBoxColumn using a filtered ObjectDataProvider, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ObjectDataProvider x:Key=&amp;quot;ingregastobanProvider&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ObjectInstance=&amp;quot;{StaticResource ingregastobanTableAdapter}&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MethodName=&amp;quot;GetData&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ObjectDataProvider.MethodParameters&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sys:String&amp;gt;I&amp;lt;/sys:String&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ObjectDataProvider.MethodParameters&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ObjectDataProvider&amp;gt;&lt;/p&gt;
&lt;p&gt;Updating the MethodParameter in a MultiBinding make all rows lookup combobox values get changed, not only the actual row...so changing the filtered objectdataprovider seems to change the full datagrid row source.&lt;/p&gt;
&lt;p&gt;Is a correct aproach? &lt;/p&gt;
&lt;p&gt;I would appreciate some help. I've been spend 3 days tryinf to figuer it, and don't get any progress...&lt;/p&gt;</description></item></channel></rss>