Hi Katherine,
Thank you for using Syncfusion products.
You can copy the selected row to clip board including hidden cell by getting all the columns in the GridGrouping control using GridColumnDescriptor. After getting all the columns, you can get details of selected record by using GetValue method of Record class. Below is the code snippet:
private void CopySelectedRecords()
{
foreach (SelectedRecord selRec in this.gridGroupingControl1.Table.SelectedRecords)
{
for (int i = 0; i < this.gridGroupingControl1.TableDescriptor.Columns.Count; ++i)
{
GridColumnDescriptor vcd = this.gridGroupingControl1.TableDescriptor.Columns[i];
if (i != 0)
s += '\t';
s += selRec.Record.GetValue(vcd.Name).ToString(); }
s += Environment.NewLine;
}
Clipboard.SetDataObject(new DataObject(s), true);
}
}
Please refer the sample available in the link below and let me know if it helps:
http://websamples.syncfusion.com//samples/ Grouping.Windows/F71413/main.htm Regards,
Subhasheela R