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

Programmatically set scroll position on Master/Child grid?

2 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
MikeK
Top achievements
Rank 1
MikeK asked on 30 Apr 2009, 07:34 PM
I found the articles posted on how to set scroll position client-side for a grid, but it doesn't work for my purpose. I have a master/child grid where I am expanding the selected child, then selecting the row with the data from code. I've implemented a search form on a tab that switches to the main master/child tab with the data, expands the correct child entry, selects it, then fires two more grids that are related.

All of my code works except that I can't move the child grid positions. This is annoying since I'm using it for a medical provider directory. A single expansion can span about 4 screens. If I could pull the scroll into position it would really help the interface and user experience.

A text example of what I'm discussing:

MASTER GRID
  CHILD-A
  CHILD-B
  CHILD-C
  ETC.

Figure the child records go to ZZZZ. I have the key to my desired row, how do I move the scroll bar to this record?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 05 May 2009, 01:19 PM
Hey Mike,

What was wrong with the article on setting scroll position client-side that it did not work for you? Was it producing any sort of error?

0
do
Top achievements
Rank 1
answered on 05 Jun 2009, 07:52 PM
Can you please post your source code here or zip it? (all the pages, code behind pages, js if used, etc.).

Thanks
do
Tags
Grid
Asked by
MikeK
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
do
Top achievements
Rank 1
Share this question
or