Giter VIP home page Giter VIP logo

Comments (24)

stoning-code avatar stoning-code commented on May 14, 2024 1

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.

stoning-code avatar stoning-code commented on May 14, 2024 1

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.

xin-lai avatar xin-lai commented on May 14, 2024 1

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

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

Excel多个Dto导出到多个Sheet。

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

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.

562127386 avatar 562127386 commented on May 14, 2024

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

from magicodes.ie.

562127386 avatar 562127386 commented on May 14, 2024

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

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

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

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

from magicodes.ie.

562127386 avatar 562127386 commented on May 14, 2024

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

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

好的,有空试下

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

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

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

from magicodes.ie.

HuDamon avatar HuDamon commented on May 14, 2024

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

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

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

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

from magicodes.ie.

HuDamon avatar HuDamon commented on May 14, 2024

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

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

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

from magicodes.ie.

pengqiangchn avatar pengqiangchn commented on May 14, 2024

最近也处理了部分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

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

收到。感谢 @pengqiangchn

from magicodes.ie.

Superllb93 avatar Superllb93 commented on May 14, 2024

是否支持关闭表头筛选器

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

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

from magicodes.ie.

Superllb93 avatar Superllb93 commented on May 14, 2024

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

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

from magicodes.ie.

CacoCode-zz avatar CacoCode-zz commented on May 14, 2024

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

xin-lai avatar xin-lai commented on May 14, 2024

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

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

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

from magicodes.ie.

Superllb93 avatar Superllb93 commented on May 14, 2024

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

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

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

@Superllb93 明白了。

from magicodes.ie.

xin-lai avatar xin-lai commented on May 14, 2024

总结如下:

  • 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.