Comments (24)
excel header and cell merge
I want to be able to customize the merge header based on Dto field characteristics
I want to be able to configure the characteristics of the dto through the structure to achieve the dynamic merge of the header cell range
#47
from magicodes.ie.
Download the excel template, I want to be able to name the excel name according to my business, instead of configuring the name by the key of the fixed entity class
from magicodes.ie.
提供一个.NET Core中间件,根据不同的content type来提供不同的格式导出,比如Excel的content type为“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”,csv的为“text/csv”。
from magicodes.ie.
Excel多个Dto导出到多个Sheet。
from magicodes.ie.
Download the excel template, I want to be able to name the excel name according to my business, instead of configuring the name by the key of the fixed entity class
说中文行不行,中英对照行不行。。。
from magicodes.ie.
是否可以增加一个不依赖dto导出导入的功能,比如:显示所有可以导出的表和列,然后可以选择的导出、导入部分列。
from magicodes.ie.
一个更牛X的,可以考虑下,导出导入可以客户自己选择导出、导入模板(包含客户自己上传的模板)
from magicodes.ie.
是否可以增加一个不依赖dto导出导入的功能,比如:显示所有可以导出的表和列,然后可以选择的导出、导入部分列。
动态导入导出已支持,基于DataTable。
from magicodes.ie.
是否可以增加一个不依赖d到导入导入的功能,诸如:显示所有可以导出的表和列,然后可以选择的导出,导入部分列。
动态导入导出已支持,基于DataTable。
好的,有空试下
from magicodes.ie.
一个更牛X的,可以考虑下,导出导入可以客户自己选择导出、导入模板(包含客户自己上传的模板)
初步看下来,感觉现在也可以啊,没太看懂。毕竟IE只是个工具库,业务完全可以按照自己的方式灵活使用。
from magicodes.ie.
是否可以支持图表导出到pdf,word等?
from magicodes.ie.
是否可以支持图表导出到pdf,word等?
这个要想想思路了,有没有相关场景补充?
from magicodes.ie.
是否可以支持图表导出到pdf,word等?
这个要想想思路了,有没有相关场景补充?
有的,像我们一个系统,有数据表格的页面分析,有图表的页面分析,但是需要导出一份详细的报告给第三方,就需要把表格数据,图表数据分别下载,然后再手工整理成册。后来采用了微软的rdlc报表,支持合并在一起进行设计,然后加载数据进去,但是非常麻烦,图表需预设计进去。然后再下载成pdf。
from magicodes.ie.
最近也处理了部分Excel导入和导出,碰到一下内容,每次写或者每次调整都比较麻烦,看能否加进去.?
-
导出时,合并单元格?填写属性,需要的列进行合并?合并属性可以增加判断字段,当判断字段都相等时,才合并.
-
导出时, 按照第N行 进行折行显示? 比如100行数据,每20行需要重新展示表头数据.并表头数据上可能空N行.
表头1 表头2 1-20行 (或空行) 表头1 表头2 ----- ----- 21-40行 -
导出时,能否行转列?比如表中有3个字段,id,name,value. 但是id和name非常多.1~N.
进行行转列导出后, 配合 第2条 折行建议. 其中还可以定义 前段表头. 可以实现为
原始表格:id 项目 数量 金额 1 项目1 1 10 2 项目2 2 20 3 项目3 3 30 转换为:
项目(前段表头) 项目1 项目2 项目3 数量(前段表头) 1 2 3 金额(前段表头) 10 20 30 (如果N行 可以折行.) 项目(前段表头) 项目N 项目N+1 项目N+2 -------------- ----- ------- ------- 数量(前段表头) N N+1 N+2 金额(前段表头) 10 20 30 前端表头,能够多表头就更好了.:
合并列 项目(前段表头) 项目N 项目N+1 项目N+2 订单 数量(前段表头) N N+1 N+2 订单 金额(前段表头) 10 20 30
from magicodes.ie.
收到。感谢 @pengqiangchn
from magicodes.ie.
是否支持关闭表头筛选器
from magicodes.ie.
@Superllb93 不太明白。可以不指定表头筛选器呀?
from magicodes.ie.
@Superllb93 不太明白。可以不指定表头筛选器呀?
默认是开启了表头筛选模式,不管有没有指定筛选器,如何关闭呢
from magicodes.ie.
枚举字段希望能在excel下拉中值按需展示枚举值,被禁用的就不展示在下拉中(The enumeration field hopes to display the enumeration value in the drop-down value of Excel on demand. The disabled field will not be displayed in the drop-down value)
from magicodes.ie.
@Superllb93 您是希望添加一个属性、特性或者方法参数,可以启用或者禁用某个筛选器,以达到筛选器逻辑共享?
from magicodes.ie.
@CacoCode 考虑添加统一的禁用特性,可用于属性、枚举字段。
from magicodes.ie.
@Superllb93 您是希望添加一个属性、特性或者方法参数,可以启用或者禁用某个筛选器,以达到筛选器逻辑共享?
允许设置某一列开启或关闭筛选模式,当前所有列都是默认开启筛选模式
from magicodes.ie.
@Superllb93 明白了。
from magicodes.ie.
总结如下:
- Excel多个Dto导出到多个Sheet
- Excel特殊表头以及单元格合并
- 导出支持通过配置传递名称
- 提供一个.NET Core中间件,根据不同的content type来提供不同的格式导出,比如Excel的content type为“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”,csv的为“text/csv”
- 通过配置导入导出
- 导出支持设置重复表头(比如每N行开始重复表头)
- 可以设置导出结果是否开启表格筛选
- 行转列导出
- 通用的禁用(隐藏)特性,可作用于属性、枚举
from magicodes.ie.
Related Issues (20)
- 【建议功能】图片导出可以直接嵌入到单元格,否则数据做筛选排序时候图片不能正确排序
- imagesharp 可以升级到3.0版本吗 HOT 1
- 动态多Sheet导入 HOT 1
- excel固定模版导出使用SixLabors.ImageSharp 3.0版本报错 HOT 1
- 存在有excel文件读取workbook的时候获取不同步的问题 HOT 1
- 我想验证导入的数据,某列验证数据类型decimal,需要怎么搞
- wps 编辑后execl导入报错 The given key 'rId1' was not present in the dictionary HOT 3
- 调用 ExportByTemplate<T>(path, output, tplPath)的时候出错 HOT 4
- 如何对ExporterAttribute特性做全局设置? HOT 1
- 目前不支持交叉表导出吗?
- magicodes.ie.excel.aspnetcore 2.7.4.5在WindowServier 2012R2下运行The type initializer for 'SkiaSharp.SKFontStyle' threw an exception. HOT 6
- 空指针异常
- 导出设置ExporterHeader的宽度没有效果 HOT 1
- Magicodes.IE.Pdf无法读取本地文件(图片) HOT 1
- Linux Dcoker构建 .NET8 按HTML模版导出PDF 报错找不到libjpeg62,同样的环境.NET7打包运行后导出PDF就正常 HOT 2
- 一个项目用Magicodes.IE跟NPOI HOT 3
- windows service部署导出word异常
- 同一个数据源,Linux 下面速度慢30s没有导出,windows下5s就导出来了。
- Magicodes.IE 和npoi冲突
- Pls remove throw new ArgumentException("Tablename has spaces") at ExcelTableCollection.ValidateTableName,xlsx is allowed worksheet name Contains empty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicodes.ie.