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.
Unfortunately, activation email could not send to your email. Please try again.

Mark a row as modified in GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

39618 Jan 12,2006 03:10 PM Jan 13,2006 12:31 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 12, 2006 03:10 PM

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 12:31 PM

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

CONFIRMATION

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.

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.

;