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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Detect when data needs to be saved

Thread ID:





18203 Aug 25,2004 08:01 PM UTC Aug 25,2004 08:19 PM UTC WinForms 1
Tags: GridControl
Asked On August 25, 2004 08:01 PM UTC

I want an easy way to tell when data for a grid has been changed. Data may be added by the user by clicking on the ''new'' row in the grid, or a row may be deleted or edited. Is there a single place I can check for any kind of change, and then subsequently call Save() method ensuring that it is thread safe. I can obviously tell when I manually add rows, but I cannot see where to check for a modified row using the datagrid itself - as opposed to the underlying dataset''s events. I am worried that if I use the ColumnChanging or RowChanged events on the datasource that there may be some threading issues if the data is saved while the syncfusion code is still being executed. -simon

Administrator [Syncfusion]
Replied On August 25, 2004 08:19 PM UTC

You can use the RowSaved event to catch grid UI changes to an existing row and a new row. You can use RowsDeleted to catch deleting a row through the grid''s UI.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon