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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

event that triggered when added new row

Thread ID:

Created:

Updated:

Platform:

Replies:

120981 Oct 30,2015 04:29 PM UTC Nov 2,2015 10:20 AM UTC WPF 1
loading
Tags: SfDataGrid
Luis Fernando
Asked On October 30, 2015 04:29 PM UTC

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

Jai Ganesh S [Syncfusion]
Replied On 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

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

;