Freeze panes in excel report.
Freeze panes in excel report.
Hello,
is it possible to freeze panes in excel report?
is it possible to freeze panes in excel report?
Re: Freeze panes in excel report.
Hello.
Yes, you could do it in the Excel2007 and ExcelXml exports.
At first you should set on of the next properties or both:Then you should choose the component which bottom left conner will be frozen and set one of next properties:
Yes, you could do it in the Excel2007 and ExcelXml exports.
At first you should set on of the next properties or both:
Code: Select all
StiOptions.Export.Excel2007.AllowFreezePanes = true;
StiOptions.Export.ExcelXml.AllowFreezePanes = true;
- The Lock property should be set to True.
- The Tag property should be set to excelfreezepanes.
Re: Freeze panes in excel report.
Hello,
I tried to do all this things for my excel report header, but it didn't work for me. What's wrong in my mrt?
Thank you.
I tried to do all this things for my excel report header, but it didn't work for me. What's wrong in my mrt?
Thank you.
- Attachments
-
- Report.mrt
- (15.55 KiB) Downloaded 535 times
Re: Freeze panes in excel report.
Hello.
Did you set the AllowFreezePanes static option?
It's not necessary to do both. You could either set Lock property or set Tag value.
You could set it in the Begin Render event of the report.
Thank you.
Did you set the AllowFreezePanes static option?
It's not necessary to do both. You could either set Lock property or set Tag value.
You could set it in the Begin Render event of the report.
Thank you.
Re: Freeze panes in excel report.
Hello,
I set this option, but it didn't help.
I set this option, but it didn't help.
Re: Freeze panes in excel report.
Hello.
Could you specify the assembly's version and what component do you use?
How did you set next options?Thank you.
Could you specify the assembly's version and what component do you use?
How did you set next options?
Code: Select all
StiOptions.Export.Excel2007.AllowFreezePanes = true;
StiOptions.Export.ExcelXml.AllowFreezePanes = true;
Re: Freeze panes in excel report.
Hello,
version 2012.1.1300.0.
Thank you.
version 2012.1.1300.0.
Code: Select all
StiOptions.Export.Excel.ShowGridLines = false;
StiOptions.Export.Excel2007.AllowFreezePanes = true;
StiOptions.Export.ExcelXml.AllowFreezePanes = true;
var exportExcel = new StiExcelExportService();
exportExcel.ExportExcel(report, outStream);
Re: Freeze panes in excel report.
Hello.
You are exporting in the format that don't support freezing of cells.
AS we wrote before:
Thank you.
You are exporting in the format that don't support freezing of cells.
AS we wrote before:
You should to use Stimulsoft.Report.Export.StiExcel2007ExportService.Aleksey Andreyanov wrote:Yes, you could do it in the Excel2007 and ExcelXml exports.
Thank you.