Event fired after new record is added via AddNewRecord line

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.


1 Reply

NR Nirmal Raja Syncfusion Team 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


Loader.
Up arrow icon