Magicodes.IE
Magicodes.IE copied to clipboard
能否提供 以模板分页形式导出Excel?
每个模板(包含表头,表尾)就是excel中的打印的一页(默认每页10条数据),然后导出一个Excel。
@RuiyanLiu You can check out the data split feature. https://github.com/dotnetcore/Magicodes.IE/blob/master/src/Magicodes.ExporterAndImporter.Tests/ExcelExporter_Tests.cs#L180-L233
需要按模板这种形式的导出,跟你刚提供的这种方式有些不一样,就想问下这种方式能支持下吗
@RuiyanLiu At present, there is no support for template multiple Sheet splitting. currently only supported #74
蒽,好吧,那我再想下别的办法吧,当前项目需要这个。。。。
@hueifeng #74 的导出分割API,我觉得我们可以开放更多API对象,以便支持更多用户的场景,比如:
SeparateByRow(o=>
//TODO:自定义单元格处理逻辑
return rowEndIndex;
)