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

how to capture cell value changes after copy/paste in griddatabound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

71973 Feb 25,2008 04:42 AM UTC Feb 25,2008 12:33 PM UTC WinForms 1
loading
Tags: GridControl
keshav kamat
Asked On February 25, 2008 04:42 AM UTC

Hello,

I am using a GridDataBoundGrid wherein I have implemented excel like copy paste feature (auto fill contiguous cells).I am using a class derived from IMouseController and adding its object to MouseControllerDispatcher property of the GridDataBoundGrid .

Everything works fine however I am not able to capture the cell value changes that occur after filling contiguous cells by dragging the mose over a particular column.

Can you please suggest how can achieve this?


Administrator [Syncfusion]
Replied On February 25, 2008 12:33 PM UTC


Hi keshav ,
Thank you for your interest in our products.
You can handle the CurrentCellAcceptedChanges event, which will be trigged when the grid saves the changes made to the CurrentCell, after completing the validation.
Here is the code snippet.

this.gridDataBoundGrid1.CurrentCellAcceptedChanges += new CancelEventHandler(gridDataBoundGrid1_CurrentCellAcceptedChanges);
void gridDataBoundGrid1_CurrentCellAcceptedChanges(object sender, CancelEventArgs e)
{
...
...
}

If you want to capture every changes(i.e. on every key strok) try handling the CurrentCellChanged event.
Please let me know if you have any queries.
Regards,
Asem.



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

;