<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://xceed.com/CS/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>Search results matching tags 'data grid' and 'Columns'</title><link>http://xceed.com/CS/search/SearchResults.aspx?o=DateDescending&amp;tag=data+grid,Columns&amp;orTags=0</link><description>Search results matching tags 'data grid' and 'Columns'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>CellEditor.EditTemplate is disposed when not in focus?</title><link>http://xceed.com/CS/forums/post/24952.aspx</link><pubDate>Mon, 23 Nov 2009 11:58:15 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24952</guid><dc:creator>Amir</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;In our project we have created a custom ComboBox enabling multiselection and other options such as search filtering (i.e pressing 'ab' on our custom ComboBox will show all values with 'ab' within them). Among other thing it holds additional properties such as search filtering type (prefix, exact match, etc.)&lt;br&gt;&lt;/p&gt;&lt;p&gt;We use the Xceed Datagrid where our custom ComboBox is the CellEditor.EditTemplate and the Column.CellContentTemplate is a Textblock binded to show the corresponding value in the ComboBox.&lt;/p&gt;&lt;p&gt;The issue is: &lt;/p&gt;&lt;ol&gt;&lt;li&gt;A user is within the ComboBox, selects the search filtering type (via context menu on right click) then leaves the combobox (which in turn shows the Textblock). When the user returns to the same ComboBox the search type returns to default value and not the value the user selected. It seems that the DataGrid releases or disposes of the ComboBox when the user leaves it and then creates it again when the user returns. I do not see a way to get passed this issue since the ComboBox is disposed \ released and the value of the filter type is lost.&lt;/li&gt;&lt;li&gt;In the same manner it seems that when entering and leaving the ComboBox the SelectionChanged event fires when leaving the combo and when entering it. (again because of the dispose \ release)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I would appreciate a little more insight as to how the Datagrid handles the CellEditor and perhaps even a suggestion on how to avoid these issues.&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Amir &lt;br&gt;&lt;/p&gt;</description></item><item><title>DataGridControl.CurrentColumn changed</title><link>http://xceed.com/CS/forums/post/20473.aspx</link><pubDate>Wed, 22 Apr 2009 19:34:20 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:20473</guid><dc:creator>Robert</dc:creator><description>&lt;P&gt;Good Afternoon!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm using version 3.1 of the DataGrid for WPF.&amp;nbsp; I have an issue where I need a TextBox editor&amp;nbsp;to commit it's changes to the datasource when the user exits the current cell (which works when DataGridControl.UpdateSourceTrigger = DataGridUpdateSourceTrigger.CellEndingEdit), but I also need a checkbox editor to commit it's changes to the datasource as soon as the user clicks on the checkbox (which works when DataGridControl.UpdateSourceTrigger = DataGridUpdateSourceTrigger.CellContentChanged).&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; The only way I imagine this situation working is if I dynamically set the UpdateSourceTrigger property of the datagrid when the current column changes.&amp;nbsp; However, the DataGridControl.CurrentColumn is not a dependency property, so I can't add a value changed&amp;nbsp;handler to it.&amp;nbsp; There doesn't appear to be any sort of event that would help me accomplish what I'm looking for either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Have any ideas what would help me accomplish what I'm trying to do?&amp;nbsp; Any examples would help!&lt;/P&gt;</description></item><item><title>Capturing Click event of Button in a DataCell using MVVM</title><link>http://xceed.com/CS/forums/post/19536.aspx</link><pubDate>Mon, 23 Mar 2009 19:42:43 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:19536</guid><dc:creator>Shailesh</dc:creator><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using Model View ViewModel pattern. I have a button inside a DataCell of Xceed DataGrid. I want to use DelegateCommand to handle the click event of the button. &lt;/P&gt;
&lt;P&gt;Also, I dont want to write anything for the same in my Code Behind. I want everything to reside in my ViewModel. &lt;/P&gt;
&lt;P&gt;How can this be achieved. I thought of RoutedEvents / RoutedCommands but they need some entry in the Code Behind file. &lt;/P&gt;
&lt;P&gt;This I want to eliminate. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;Requesting you to please help on the same. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards&lt;/P&gt;
&lt;P&gt;SSA.&lt;/P&gt;</description></item></channel></rss>