Hi Pravin,
Thank you for your interest in Syncfusion products.
If you want to copy the selected column in GridGroupingControl,
you can use “GridColumnDescriptor”
class. Using this class to get details of selected record by using GetValue method of Record class. Please
refer the below code,
Code:
private void
buttonAdv1_Click(object sender, EventArgs e)
{
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 let us know if you have any concern.
Regards,
Muthukumar K