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.

event that triggered when added new row

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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

Jai Ganesh S [Syncfusion]
Replied On November 2, 2015 05:20 AM

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.

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.

;