Hi Colin,
Thank you for your interest in Syncfusion products.
You can get the selected records to a temporary collection when the button clicked and then clear the selected records and then add the selected records after the exporting completed.
//in export button clicked
private void button1_Click(object sender, EventArgs e)
{
Record[] records = new Record[100];
int i = 0;
foreach (SelectedRecord rec in this.gridGroupingControl1.Table.SelectedRecords)
{
records[i] = rec.Record;
i++;
}
this.gridGroupingControl1.Table.SelectedRecords.Clear();
//exporting codes written here
foreach (Record rec in records)
{
if (rec != null)
this.gridGroupingControl1.Table.SelectedRecords.Add(rec);
}
}
Please refer the following sample which illustrates the above.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GGC_PDFEXport966339112.zipPlease let me know if you have any other concerns.
Regards,
Christo.