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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

71973 Feb 24,2008 11:42 PM Feb 25,2008 07:33 AM Windows Forms 1
loading
Tags: GridControl
keshav kamat
Asked On February 24, 2008 11:42 PM

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 07:33 AM


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.

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.

;