jQWidgets Forums

jQuery UI Widgets Forums Grid Get scroll position

This topic contains 0 replies, has 1 voice, and was last updated by  dperry 11 years, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
  • Get scroll position #26835

    dperry
    Participant

    Is there any way to get the current scroll position? I want to be able to scroll the grid all the way to the right while keeping the current vertical position intact. The .jqxGrid(‘scrolloffset’) method takes two params, and from what i can see, you can’t pass null to ignore setting one of those params. Right now, I’m using
    .jqxGrid(‘scrolloffset’, 0, 10000);
    …to throw the horizontal position all the way over, but it also scrolls back to the top. Any advice?

    EDIT: I actually found the scrollleft method in the grid code (the method didn’t show up in any of the documentation)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.