w2grid.scrollIntoView

Scrolls to the specified records
scrollIntoView([ind], [column], [instant], [recTop])
ind integer, optional, index of the record in records array
column integer, optional, index of the column in columns array
instant boolean, optional, instant scrolling
recTop boolean, optional, align record at top of the grid
Returns undefined.

Description

This method will scroll into view the record with ind index. If you do not supply the ind argument, the method will scroll into view first selected record.
By default the scrolling is animated, unless the instant flag is set.
If you have grid defined in the following way: You can do:

User Comments

comments powered by Disqus