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

Immediate Help Wanted : Cut/Copy/Paste/AddNew GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

72308 Mar 13,2008 12:29 AM Mar 13,2008 03:49 AM Windows Forms 1
loading
Tags: GridControl
apwickrama
Asked On March 13, 2008 12:29 AM

I want to do the functions as Cut / Copy / Paste / AddNew to the GridDataBoundGrid.
I'm using context menu
My datasource is a collection and not a DataTable.

How Do I do that..?


Administrator [Syncfusion]
Replied On March 13, 2008 03:49 AM

Hi,
Thank you for your interest in Syncfusion products.
This can be achieved by using the Cut(), Copy(),Paste() and AddNew() method of GridDataBoundGrid.

this.gridDataBoundGrid1.Model.CutPaste.Cut();
this.gridDataBoundGrid1.Model.CutPaste.Copy();
this.gridDataBoundGrid1.Model.CutPaste.Paste();
this.gridDataBoundGrid1.Binder.AddNew();

Please refer the sample in the link that implements these functionalities in the contextmenu of gridDataBoundGrid:
http://websamples.syncfusion.com/samples/Grid.Windows/42244/main.htm

Kindly try this and let me know if you need further assistance.

Regards,
Jisha


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

;