Giter Site home page Giter Site logo

Comments (2)

jeremyjone avatar jeremyjone commented on May 28, 2024

因为甘特图不同于table,如果自动宽度的话,其实有一个很大的问题,就是右侧滑动部分显示多少。其次,其实自动宽度的意义在甘特图上并不大,因为表格部分应该为辅助,顶多3-4列是合理的展示,右侧日期滑动部分才是重点部分,否则直接使用表格不就好了么。

基于上面的思路,所以我设计了可拖拽列宽式的表头,以适应类似部分场景,一般情况都可以满足。


我这个其实没啥可说的,挺简单的,就是一个虚拟滚动机制,一个简易diff,看一下源码可能写的比我这个好哈

from gantt.

tesla-cat avatar tesla-cat commented on May 28, 2024

@jeremyjone 谢谢及时回复

因为我表格部分需要做的比较复杂, 大概这个样子

image

from gantt.

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.