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.
Syncfusion Feedback

Which GDBG event fires

Thread ID:

Created:

Updated:

Platform:

Replies:

56129 Feb 9,2007 04:55 PM UTC Feb 9,2007 08:44 PM UTC Windows Forms 3
loading
Tags: GridControl
Patrick Rumery
Asked On February 9, 2007 04:55 PM UTC

Which GDBG event fires after a user edits mult cells at the same time with a delete key or a paste action? neither the rowSaved nor CurrentCellEditingComplete events fire. I use those events to save data back to the DB.

Thanks

Administrator [Syncfusion]
Replied On February 9, 2007 05:52 PM UTC

Hi Prumery,

Which GDBG event fires after a user edits mult cells at the same time with a paste action?
>>>>>>>>
You can use the PasteCellText event of the grid. It occurs for each cell when text is pasted from a buffer into several cells.

Which GDBG event fires after a user edits mult cells at the same time with a delete key?
>>>>>>>>
Try handling the ClearCells event of the grid to delete key action for range of cells.

Best regards,
Haneef

Patrick Rumery
Replied On February 9, 2007 08:14 PM UTC

The grid data bound grid does not have either of those events listed. How do you suggest I create them in VB.net?

Administrator [Syncfusion]
Replied On February 9, 2007 08:44 PM UTC

Hi Prumery,

You can access the both event from GridModel class. Please find the code snippet below

//form load event
AddHandler GridControl1.Model.PasteCellText, New Syncfusion.Windows.Forms.Grid.GridPasteCellTextEventHandler(AddressOf GridModel_PastCellText)
AddHandler GridControl1.Model.ClearingCells ,New Syncfusion.Windows.Forms.Grid.GridClearingCellsEventHandler (AddressOf GridModel_ClearCells)

Private Sub GridModel_PastCellText(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridPasteCellTextEventArgs)
Console.WriteLine("Paste Cell Text Fired....")
End Sub
Private Sub GridModel_ClearCells(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridClearingCellsEventArgs)
Console.WriteLine("ClearCells fired")
End Sub

Best regards,
Haneef

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

;