This is a migrated thread and some comments may be shown as answers.

scroll to row client-side

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
towpse
Top achievements
Rank 2
towpse asked on 30 Apr 2009, 04:41 PM
Hey all.

Is there a way i can force the grid to scroll to a specific row in javascript?

here's my thing:
each grid row will show an input text box to the user if the row is selected. If the user clicks submit, i show a label that indicates a required field if the input is empty.
if the row is hidden due to scrolling, i'd like to be able to scroll to the first text box row that violates a required field condition. thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 04 May 2009, 04:24 AM
Hi,

Here is a help article which explains how to scroll to the selected item. Go through it and see if it helps.
Scrolling to the selected item

Shinu
Tags
Grid
Asked by
towpse
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or