Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.2 milestone discussion(2.2里程碑讨论) #46

Closed
xin-lai opened this issue Mar 8, 2020 · 24 comments
Closed

2.2 milestone discussion(2.2里程碑讨论) #46

xin-lai opened this issue Mar 8, 2020 · 24 comments
Labels
Milestone

Comments

@xin-lai
Copy link
Collaborator

xin-lai commented Mar 8, 2020

请在此主题下发表您对Magicodes.IE 2.2版本的建议或意见!

@xin-lai xin-lai added the discussion 讨论 label Mar 8, 2020
@xin-lai xin-lai added this to the 2.2 milestone Mar 8, 2020
@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 9, 2020

Excel多个Dto导出到多个Sheet。

@stoning-code
Copy link
Collaborator

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

@stoning-code
Copy link
Collaborator

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

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 10, 2020

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

说中文行不行,中英对照行不行。。。

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 10, 2020

提供一个.NET Core中间件,根据不同的content type来提供不同的格式导出,比如Excel的content type为“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”,csv的为“text/csv”。

@562127386
Copy link

是否可以增加一个不依赖dto导出导入的功能,比如:显示所有可以导出的表和列,然后可以选择的导出、导入部分列。

@562127386
Copy link

一个更牛X的,可以考虑下,导出导入可以客户自己选择导出、导入模板(包含客户自己上传的模板)

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 11, 2020

是否可以增加一个不依赖dto导出导入的功能,比如:显示所有可以导出的表和列,然后可以选择的导出、导入部分列。

动态导入导出已支持,基于DataTable。

@562127386
Copy link

是否可以增加一个不依赖d到导入导入的功能,诸如:显示所有可以导出的表和列,然后可以选择的导出,导入部分列。

动态导入导出已支持,基于DataTable。

好的,有空试下

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 11, 2020

一个更牛X的,可以考虑下,导出导入可以客户自己选择导出、导入模板(包含客户自己上传的模板)

初步看下来,感觉现在也可以啊,没太看懂。毕竟IE只是个工具库,业务完全可以按照自己的方式灵活使用。

@HuDamon
Copy link

HuDamon commented Mar 13, 2020

是否可以支持图表导出到pdf,word等?

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 13, 2020

是否可以支持图表导出到pdf,word等?

这个要想想思路了,有没有相关场景补充?

@HuDamon
Copy link

HuDamon commented Mar 13, 2020

是否可以支持图表导出到pdf,word等?

这个要想想思路了,有没有相关场景补充?

有的,像我们一个系统,有数据表格的页面分析,有图表的页面分析,但是需要导出一份详细的报告给第三方,就需要把表格数据,图表数据分别下载,然后再手工整理成册。后来采用了微软的rdlc报表,支持合并在一起进行设计,然后加载数据进去,但是非常麻烦,图表需预设计进去。然后再下载成pdf。

@pengqiangchn
Copy link

最近也处理了部分Excel导入和导出,碰到一下内容,每次写或者每次调整都比较麻烦,看能否加进去.?

  1. 导出时,合并单元格?填写属性,需要的列进行合并?合并属性可以增加判断字段,当判断字段都相等时,才合并.

  2. 导出时, 按照第N行 进行折行显示? 比如100行数据,每20行需要重新展示表头数据.并表头数据上可能空N行.

    表头1 表头2
    1-20行
    (或空行)
    表头1 表头2
    ----- -----
    21-40行
  3. 导出时,能否行转列?比如表中有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

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 14, 2020

收到。感谢 @pengqiangchn

@Superllb93
Copy link

Superllb93 commented Mar 17, 2020

是否支持关闭表头筛选器

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 17, 2020

@Superllb93 不太明白。可以不指定表头筛选器呀?

@xin-lai xin-lai pinned this issue Mar 17, 2020
@Superllb93
Copy link

@Superllb93 不太明白。可以不指定表头筛选器呀?

默认是开启了表头筛选模式,不管有没有指定筛选器,如何关闭呢

@CacoCode-zz
Copy link
Member

枚举字段希望能在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)

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 18, 2020

@Superllb93 您是希望添加一个属性、特性或者方法参数,可以启用或者禁用某个筛选器,以达到筛选器逻辑共享?

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 18, 2020

@CacoCode 考虑添加统一的禁用特性,可用于属性、枚举字段。

@Superllb93
Copy link

@Superllb93 您是希望添加一个属性、特性或者方法参数,可以启用或者禁用某个筛选器,以达到筛选器逻辑共享?

允许设置某一列开启或关闭筛选模式,当前所有列都是默认开启筛选模式

@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 18, 2020

@Superllb93 明白了。

@dotnetcore dotnetcore locked as off-topic and limited conversation to collaborators Mar 18, 2020
@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 20, 2020

总结如下:

  • Excel多个Dto导出到多个Sheet
  • Excel特殊表头以及单元格合并
  • 导出支持通过配置传递名称
  • 提供一个.NET Core中间件,根据不同的content type来提供不同的格式导出,比如Excel的content type为“application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”,csv的为“text/csv”
  • 通过配置导入导出
  • 导出支持设置重复表头(比如每N行开始重复表头)
  • 可以设置导出结果是否开启表格筛选
  • 行转列导出
  • 通用的禁用(隐藏)特性,可作用于属性、枚举

@xin-lai xin-lai closed this as completed May 12, 2020
@hueifeng hueifeng unpinned this issue Jul 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants