HA
haneefm
Syncfusion Team
July 20, 2007 09:05 PM UTC
Hi Coder12345,
You can achieve this using CutPaste.CopyTextToClipboard() method, which takes GridRangeInfoList as the argument. Below is the code snippet:
gridControl1.CutPaste.CopyTextToClipboard(gridControl1.Selections.Ranges); //For text
///gridControl1.CutPaste.CopyCellsToClipboard(gridControl1.Selections.Ranges,true); //For styles
Also you can do this by calling the CutPaste.Copy() method in a grid. It copies the selected ranges in a grid.
gridControl1.CutPaste.Copy();//
Best regards,
Haneef