We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to update binding source of a GridTextColumn as soon as a change is made?

Thread ID:





129684 Mar 28,2017 05:08 PM UTC Mar 31,2017 04:16 AM UTC WPF 3
Tags: SfDataGrid
Asked On March 28, 2017 05:08 PM UTC


I'm using GridTextColumn in an sfDataGrid and I'd like the underlying binded property (set by MappingName property) is set as soon as the user changes the column cell value.
By default, instead, the binded property is changed only when the focus leaves the cell and moves to another cell.
Is there the possibility to configure this behaviour on the cell as I'd do with normal binding using "UpdateSourceTrigger=PropertyChanged" ?

Thank you,


Balamurugan Rajaraman [Syncfusion]
Replied On March 29, 2017 05:51 PM UTC

Hi Silvio, 
Thank you for contact Syncfusion support. 
We have analyzed your query “Is it possible to update binding source of a GridTextColumn as soon”. You can able to achieve your requirement by setting the UpdateTriggere property as PropertyChanged for the GridTextColumn as like the below provided code sample.  
<syncfusion:SfDataGrid ItemsSource="{Binding Orders,UpdateSourceTrigger=PropertyChanged}" AllowEditing="True" AutoGenerateColumns="False"> 
                <syncfusion:GridTextColumn UpdateTrigger="PropertyChanged" MappingName="OrderID"/> 
                <syncfusion:GridTextColumn UpdateTrigger="PropertyChanged" MappingName="CustomerID"/> 
                <syncfusion:GridTextColumn UpdateTrigger="PropertyChanged" MappingName="CustomerName"/> 
                <syncfusion:GridTextColumn UpdateTrigger="PropertyChanged" MappingName="Country"/> 
                <syncfusion:GridTextColumn UpdateTrigger="PropertyChanged" MappingName="ShipCity"/> 
We have attached the modified sample for your reference. You can download it from the below location. 
Balamurugan R 

Replied On March 30, 2017 07:08 AM UTC

Thank you for your sugestion and help.

Balamurugan Rajaraman [Syncfusion]
Replied On March 31, 2017 04:16 AM UTC

Hi Silvio 
Thank you for the Update. 
Please let us know if you have any further assistance on this. 
Balamurugan R 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon