Giter VIP home page Giter VIP logo

Comments (9)

yiminghe avatar yiminghe commented on August 28, 2024

... 你来搞下...

from table.

afc163 avatar afc163 commented on August 28, 2024

好。

from table.

zhechang520 avatar zhechang520 commented on August 28, 2024

代码呢?

from table.

afc163 avatar afc163 commented on August 28, 2024
columns = [{
  title: '列一',
  dataindex: '',
  colspan: 2, // 列头占两列
  render(value, record, index) {
    return {
      children: value,  // 单元格内容
      props: {
        align: 'right' // 向右对齐
        colspan: 2, // 单元格占两列
        rowspan: 2 // 单元格占两行
      }
    };
  }
}]

from table.

afc163 avatar afc163 commented on August 28, 2024

主要满足三种情况。

  1. 表头占多列。

  2. 单元格占多行。

  3. 单元格占多列。

from table.

yiminghe avatar yiminghe commented on August 28, 2024

👍 ,还有个表头占多行吧

  1. 是表头占多列

from table.

MarshallChen avatar MarshallChen commented on August 28, 2024

所以现在支持不支持表头占多行?看源码好像是不行?
还有就是表头占多列的情况下配合 columnsPageRange 就会出bug

from table.

tiodot avatar tiodot commented on August 28, 2024

请问假如需要做
table
这样一个根据数据动态合并单元格的表格,我的理解是需要针对每一条数据动态设置rowspan的值?

from table.

lee-my avatar lee-my commented on August 28, 2024

同问 ,比如表格数据是动态获取的 ,如何实现自动合并呢?

from table.

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.