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

event that triggered when added new row

what to event is triggered when added a new row in SfDatagrid?

1 Reply

JG Jai Ganesh S Syncfusion Team November 2, 2015 10:20 AM UTC

Hi Luis,

Thank you for using Syncfusion Products.

We have analyzed your query. The CollectionChanged event will be fired when the new row is added in SfDataGrid.

Code Example:

void datagrid_Loaded(object sender, RoutedEventArgs e)

   {

            this.datagrid.View.CollectionChanged += View_CollectionChanged;

   }


      

void View_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)

   {

            //Do your actions here
   }


Please let us know if you have any other query.

Regards,
Jai Ganesh S

Loader.
Up arrow icon