Viewport questions

Posted by: j2associates on 8 September 2017, 12:55 pm EST

  • Posted 8 September 2017, 12:55 pm EST

    Hello all,


    I need to be able to calculate how many rows are being displayed in my spread because the form can be resized by the user. It is complicated a bit by the fact that sometimes there aren't enough rows to fill the spread entirely.


    What is the best way to calculate the number of rows? If the user opens up some vertical viewports how do I calculate those in a similar manner? Thanks in advance for any ideas and/or suggestions!

  • Replied 8 September 2017, 12:55 pm EST

    There is a GetViewportTopRow method and a GetViewportBottomRow method you can use to determine how many rows are visible in the viewport.
Need extra support?

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

Learn More

Forum Channels