|112277||Sep 16,2013 02:57 PM UTC||Aug 6,2015 08:58 AM UTC||WinForms||6|
Thank you for your interest in Syncfusion products,
Can’t able to export filter record
We have analysed the reported issue in our end, I am afraid that I am unable to reproduce the reported issue in our end, we can able to export the record to PDF. Please refer the below code which is we have used in sample.
private void button1_Click(object sender, EventArgs e)
GridPDFConverter pdfConvertor = new GridPDFConverter();
//Launching the PDF file using the default Application.[Acrobat Reader]
Please let me know the below details for us.
1. Which version of Syncfusion product you have used currently.
2. Are you trying to export Grid to PDF, word or Excel
Can I able to get the filtered DataTable in XML
You can get the filtered table in XML using the XML serialization, please refer the below code and sample from the dashboard.
private void btnSaveXmlSchema_Click(object sender, System.EventArgs e)
XmlTextWriter xw = new XmlTextWriter("GridSchema.xml", System.Text.Encoding.UTF8);
XmlTextWriter xwApp = new XmlTextWriter("GridLooknFeel.xml", System.Text.Encoding.UTF8);
xw.Formatting = System.Xml.Formatting.Indented;
private void btnLoadXmlSchema_Click(object sender, System.EventArgs e)
if (File.Exists("GridSchema.xml") && File.Exists("GridLooknFeel.xml"))
XmlReader xr = new XmlTextReader("GridSchema.xml");
XmlReader xrApp = new XmlTextReader("GridLooknFeel.xml");
MessageBox.Show("Click \"Save Xml Schema\" button to serialize the grid.");
Sample path : <install_location>\Syncfusion\EssentialStudio\22.214.171.124\Windows\Grid.Grouping.Windows\Samples\Serialization\XML Serialization Demo\CS
Please let me know if you have any issue along with your sample application this will help us to provide proper response asap.
Thanks for your update.
We have analysed the reported query in our end. Currently Syncfusion GridControl support to export the Grid Data to Excel, pdf, word ,csv and HTML format. So you don’t need to iterate the Grid data source, by default these data export only filtered data.
For further reference please refer the below samples from your DashBoard.
Please refer the below UG link also for further reference,
We hope these will resolve / provide required information about your query.
FilteredRecordsInTableCollection filteredRecords = this.gridGroupingControl1.Table.FilteredRecords;
Please let me know if you have any concerns.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.