Home > Net >  Multiple DevExpress. XPF. Grid. GridControl controls more than how to export into excel document she
Multiple DevExpress. XPF. Grid. GridControl controls more than how to export into excel document she

Time:11-19

I have more than one DevExpress XPF. Grid. GridControl form controls, exported as to its contents. XLS or. XLSX, using excel preview, but using ExportToXls, is a one-to-one relationship between export, I hope to be able to export to multiple controls multiple sheet page display in a document?
I searched the Internet to the majority is to use this method
 DevExpress.XtraPrintingLinks.Com positeLink link=new DevExpress.XtraPrintingLinks.Com positeLink (new DevExpress. XtraPrinting. PrintingSystem ()); 
The foreach (var item in printables)
{
Var plink=new DevExpress. XtraPrinting. PrintableComponentLink () {Component=item};
The link. Links. The Add (plink);
}
If (isPageForEachLink)//15.1 Xls does not support this feature, 15.2 x
The link. CreatePageForEachLink ();


. But this is DevExpress xtraGrid methods of use, I can't use of controls, could you tell me if anyone can solve the DevExpress. XPF. Grid. GridControl this how to export to the same excel sheet different page of the document?

CodePudding user response:

Post to sink?

CodePudding user response:

I'm using NPOI components export to Excel, Dev export less flexible, although very easy to use,

CodePudding user response:

https://blog.csdn.net/haoqiancheng123/article/details/105623197

CodePudding user response:

DEV is very convenient to operate, write a export button, can be exported
  • Related