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).
Close Icon
Unfortunately, activation email could not send to your email. Please try again.
Close Icon
close icon
Vote for your favorite ebook
Succinctly Readers Awards 2020
Syncfusion Feedback

something like OnDisplayValue

Thread ID:





120488 Sep 20,2015 05:39 PM UTC Sep 24,2015 07:22 AM UTC WPF 3
Tags: SfDataGrid
Asked On September 20, 2015 05:39 PM UTC


DisplayBinding is called (as I've understand) only one time for record.
Does SfDataGrid have event something like OnDisplayValue (for calling each time after repainting).


Jai Ganesh S [Syncfusion]
Replied On September 21, 2015 11:42 AM UTC

Hi Michael,

Thank you for using Syncfusion products.

We have analyzed your queries and please find the responses for your queries as below,

Query 1: (DisplayBinding is called (as I've understand) only one time for record)

If we give a MappingName alone in a Column the values are displayed based on the MappingName otherwise if we want to display the value based on other data ,we can use DisplayBinding.

Query 2: (Does SfDataGrid have event something like OnDisplayValue (for calling each time after repainting)

Yes, the SfDataGrid has the CurrentCellValueChanged event which will be triggered when we change the cell values.



If we misunderstood your requirements, could you please share more information about your query? This would be more helpful for us to proceed further.

Please let us know if you have any other query.

Thank you,

Jai Ganesh S

Replied On September 23, 2015 08:31 AM UTC

I'd like to show cell value (displayed value) depends on value in previous row.
Data in previous row can be changed.

Jayapradha S [Syncfusion]
Replied On September 24, 2015 07:22 AM UTC

Hi Michael,

Thank you for your update.

We have analyzed your requirement. You can change the value of next row based on previous cell value in the CurrentCellEndEdit event as shown below,

Code Example:

public MainWindow()



            this.datagrid.CurrentCellEndEdit += datagrid_CurrentCellEndEdit;


        void datagrid_CurrentCellEndEdit(object sender, CurrentCellEndEditEventArgs args)


            var currentRowIndex = args.RowColumnIndex.RowIndex;

            var rowData = this.datagrid.GetRecordAtRowIndex(currentRowIndex + 1);

            (rowData as BusinessObjects).EmployeeName = "Peter";

Find the sample from the below location:

Sample Link: http://www.syncfusion.com/downloads/support/forum/120488/ze/SfDataGridDemo1495473568.zip

Kindly let us know if you require any further assistance.



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