SR
Sri Rajan
Syncfusion Team
May 9, 2008 11:15 PM UTC
Hi ,
Thanks for your interest in Syncfusion products.
You have to use TableModel.Model.CutPaste.Copy() method to Copy the selections. Here is the code.
this.gridGroupingControl1.TableModel.Model.CutPaste.Copy();
To Copy the headers you need to set the following flags,
To Copy data along with Row Header
>>>>
this.gridGroupingControl1.TableModel.CutPaste.ClipboardFlags |= GridDragDropFlags.RowHeader;
To Copy data along with Column Header
>>>>
this.gridGroupingControl1.TableModel.CutPaste.ClipboardFlags|= GridDragDropFlags.ColHeader;
To select range of cells and copy to clipboard
>>>>>
this.gridGroupingControl1.TableModel.SelectedRanges.Add(GridRangeInfo.Cells(1,1,5,3));
this.gridGroupingControl1.TableModel.Model.CutPaste.Copy();
Please let me know if this helps.
Best Regards,
Srirajan