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.
Syncfusion Feedback

Event fired after new record is added via AddNewRecord line

Thread ID:

Created:

Updated:

Platform:

Replies:

75667 Aug 5,2008 11:59 AM UTC Aug 6,2008 08:48 AM UTC Windows Forms 1
loading
Tags: GridControl
Tayfun
Asked On August 5, 2008 11:59 AM UTC

Is there any event fired after the user adds a new record to the grid. I want to validate the record in that event cancel it if it's not valid.

I'm using grouping grid by the way.


Nirmal Raja [Syncfusion]
Replied On August 6, 2008 08:48 AM UTC

Hi Tayfun,

Thank you for your interest in Syncfusion product.

The GridGroupingControl has an event called SourceListListChangedCompleted, which will fire when the table occur any changes.
The property called ListChangedType in the event will be refered and if a new row is added, the property will be assigned as ItemAdded.
So, this contion will be fired when a new row is created.

Please refer the below sample for detail:
AddingRowsEventSample

Let me know if you have any queries.

Regards,
Nirmal


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.

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

;