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. Image for the cookie policy date
close icon

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

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..?


1 Reply

AD Administrator Syncfusion Team March 13, 2008 07:49 AM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon