SharePoint 2010 Performance Zoom In Zoom Out Button Gantt View


  • Hello guys,

    I'v got a question. I've implemented a Zoom In / Zoom Out Button with JavaScript above the Gantt View, but the performace is not that good. When I presse the Buttons in the ribbbon menu it reacts very fast, but the other Buttons react in contrast very slow.

    Should I use another method of implementing?

    Best regards


    Monday, January 13, 2014 8:39 AM


  • Hi,

    According to your post, my understanding is that you want to customize Zoom In/Zoom Out for the Gantt View.

    Please check that whether there are setTimeout methods in your code.

    Here are some JavaScript functions that you can use for Zoom In /Zoom Out feature.

    function ZoomIn()
    function ZoomOut()

    “WebPartWPQ1” is the ID of the Gantt View Web Part, you can find it by using F12 IE developer.

    More information:

    Best Regards

    Dennis Guo
    TechNet Community Support

    Wednesday, January 15, 2014 5:09 AM