BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Gaukhar Massabayeva,
Thanks for your interest in Syncfusion products.
Query: GroupingGrid
To Excel crash |
Sorry for the delay.I could not able to reproduce the issue. I have
prepared a sample with ‘BackGroundWorker’ class and increasing the progress
through the ‘ReportProgress()’ method which is used to raise the
‘ProgressChanged’ event. In the sample, I have invoked the ‘ReportProgress()’
within the ‘ExportElement’ event. BackgroundWorker Bgworker = new BackgroundWorker(); //form_load Bgworker.ProgressChanged += new
ProgressChangedEventHandler(Bgworker_ProgressChanged); Bgworker.WorkerReportsProgress = true; // ProgressChanged event void Bgworker_ProgressChanged(object sender,
ProgressChangedEventArgs e) { this.progressBar1.Value = e.ProgressPercentage % 100; } // ExportElement event void converter_ExportElement(object sender,
GridExportElementEventArgs e) { if (e.Element.IsCaption() && e.Element.GroupLevel == 1
&& !e.Element.ParentGroup.IsExpanded) { if (rowcount == 0) rowcount = e.Element.GetRowIndex(); rowcount += e.Element.ParentGroup.Details.GetChildCount() //below is defined for group count and add new record count. + this.gridGroupingControl1.TableDescriptor.GroupedColumns.Count
* 2; } Bgworker.ReportProgress(rowcount); // set the work progress. //other codes . . . } Please refer to the following sample which illustrates the same
with grouping. http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GGCModel-2107294323.zip Is there any possible way for you to provide us with a sample
that shows this issue? or reproduce the issue in above sample. It will be
easier for us to have a closer look into the problem and to resolve it. |
Please let me know if you have any other concerns.
Regards,
Arun.
Hi Gaukhar Massabayeva,
It seems you have opened the xls file hence you might
getting such problem. Please check with that. Or please let us know we will
provide you the xls file. I could able to understand the requirement but could
able to to get the app freeze, so please provide me the modified sample. Or else
if you want the calculation speed for exporting data for large records I will
modify sample but please provide me the amount of data tried to export and how
many minutes it had been took to export(exact time), so that we will analyze
that and get to you back with a better solution, and also please tell us the
version you are using so that we will check in the reported version.
Please let me know if you have any concerns.
Regards,
Arun.
converter.GroupingGridToExcel
Export never finishes. Application just hangs, I am forced to restart.
Hi Gaukhar Massabayeva,
Thanks for the update.
Sorry for the delay.Please make use of the following sample
and let me know if the issue is solved in your side. Please give some more
information over the following line. “Is there a way to export asynchronously?”.
Regards,
Arun.