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. Image for the cookie policy date

something like OnDisplayValue


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).


3 Replies

JG Jai Ganesh S Syncfusion Team 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

MI Michael 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.

JS Jayapradha S Syncfusion Team 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: https://www.syncfusion.com/downloads/support/forum/120488/ze/SfDataGridDemo1495473568.zip

Kindly let us know if you require any further assistance.


Live Chat Icon For mobile
Up arrow icon