DoScroll Method

JavaScript Editor js editor     Web development 



Main Page

Scrolls the Grid control to simulate a user clicking the scroll bars.

Grid.DoScroll(nDirection)

Parameters

nDirection


The settings for nDirection are:

Scroll command Scroll action

0

Scroll up

1

Scroll down

2

Scroll page up

3

Scroll page down

4

Scroll left

5

Scroll right

6

Scroll page left

7

Scroll page right

Remarks

Applies To: Grid

The Scrolled event is triggered after the DoScroll method.

See Also



JavaScript Editor js editor     Web development