Giter VIP home page Giter VIP logo

Comments (6)

Edisson avatar Edisson commented on August 29, 2024

I've done a little change in ganttUtilites.js file,
Removed a line of code in a sync scrolling function:

    fs.scroll(function(e) {
        // code here...
      if (el.is(".splitBox1") && stopScroll!="splitBox2"){
        // code here...
      }else if (el.is(".splitBox2") && stopScroll!="splitBox1"){
        // code here...
      }
        // code here...
      //This code I removed: where.stopTime("reset").oneTime(100,"reset",function(){stopScroll="";})
    });

it seems to me that kind of those behaviour is disappeared, but I'm not sure if it's a really decision in this case?

from jquerygantt.

Edisson avatar Edisson commented on August 29, 2024

don't wanna put a new issue, just have a question about performance of gantt drawing.
how we can increase it? when there is a lengthy range of calendar grid and a lot of records it's making up slowly

from jquerygantt.

robicch avatar robicch commented on August 29, 2024

See the issue #35.
Consider that this component is meant to run with max 100 tasks.
There is a Profiler object already in the component you can use to inspect the performances.
I had a look in the beginning, and I sow that there was not a bottleneck, but the time was spread on several functions.
I have no idea on how to improve the speed.
Any suggestion will be welcome :-)

from jquerygantt.

Edisson avatar Edisson commented on August 29, 2024

for example in some diff places we can replace ".is()" to ".hasClass()" - it works faster:) but it's not regarding of drawing Gantt in common.. but if I find a decision I will tell.

about the header: there is out of sync in scrolling sometimes and it's floating.

from jquerygantt.

Edisson avatar Edisson commented on August 29, 2024

what I've noticed is that scrolling with moving header works not really good (floating) in IE11.. the header of grid is like blinking and seems it has smth in common with that bug I had described in the first message with screenshots

from jquerygantt.

Edisson avatar Edisson commented on August 29, 2024

we also can change the snipet of code in scroll:

      secondBox.find(".fixHead").css('top', top);
      firstBox.find(".fixHead").css('top', top);

to

      $('.fixHead').css('top', top);

it works faster but it doesn't help to avoid header floating in IE.

from jquerygantt.

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.