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

Mark a row as modified in GridGroupingControl

Thread ID:





39618 Jan 12,2006 08:10 PM UTC Jan 13,2006 05:31 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On January 12, 2006 08:10 PM UTC

I am trying to mark a row as modified as soon as any changes are made to the field by changing the 1st column (row number) to have an * appended to the row number. In the QueryCellStyleInfo event for the RowHeaderCell I check if the DataRow associated with that row has a modified state. However it is only in that state after leaving the row. I see 2 other possible events that would let me know if the data has changed (RecordValueChanged or TableControlCurrentCellChanged), however I would also want to remove the * once the changes are committed. Is there a way to do this?

stanleyj [Syncfusion]
Replied On January 13, 2006 05:31 PM UTC

Hi Chuck, CurrentRecordContextChange would be the right event to get notified for the modifications. private void gridGroupingControl1_CurrentRecordContextChange(object sender, Syncfusion.Grouping.CurrentRecordContextChangeEventArgs e) { if(e.Action == CurrentRecordAction.EndEditCalled) { Console.WriteLine("Modified"); } } Let me know if you have any more questions. Best regards, Stanley


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