Control mouse scroll distance on SpreadJS canvas

Posted by: saurabh.gupta on 30 January 2018, 2:33 pm EST

    • Post Options:
    • Link

    Posted 30 January 2018, 2:33 pm EST

    Hi,

    I am trying to control the number of rows/columns scrolled when using Apple magic mouse or touchpad in a laptop. Current scrolling speed is way too high and it starts annoying the user. As I see canvas scrolling is controlled by SpreadJS code, I would like a way to reduce the number of rows/columns scrolled.

    Thank You

  • Posted 31 January 2018, 11:47 am EST

    Hi Saurabh,

    With Spread.Sheets there is no direct property or method to control the number of Rows /columns scrolled. You can set the top row or left column in code by handling the TopRowChanged/LeftColumnChanged events:

    http://help.grapecity.com/spread/SpreadSheets11/webframe.html#SpreadJS~GC.Spread.Sheets.Events.TopRowChanged.html

    Thanks,

    Deepak Sharma

  • Posted 31 January 2018, 12:24 pm EST

    Hi,

    Thanks for prompt reply.

    Can you put this as a feature request as I wanted to implement this library and I can’t do anything with these methods -

    https://github.com/d4nyll/lethargy (Library)

    Thank You

  • Posted 1 February 2018, 5:57 am EST

    Hi Saurabh,

    I have submitted it as a feature request to our bug database. I may get added in a future version of SpreadJS. The enhancement request id for this issue is :253935.

    Thanks,

    Deepak Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels