ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: sidads on December 04, 2013, 08:31:10 pm

Title: Set First Visible Row
Post by: sidads on December 04, 2013, 08:31:10 pm

Hello,

I have a grid with 20 rows with a vertical scroll bar and of which first 1-10 rows are visible but say I will scroll down to row 15, select it and do something then refresh the Grid, then Grid goes back to scroll from first row but instead can I set the grid to show the 15th row as the first visible row or make grid automatically scroll to 15th row to make it visible.

Please advise.
Title: Re: Set First Visible Row
Post by: paramvir on December 05, 2013, 08:19:13 pm
You can scroll the rows using

Code: [Select]
pqGrid("bringRowIntoView",{rowIndxPage:15});

You may read through this post for details:

http://paramquery.com/forum/index.php?topic=318.0
Title: Re: Set First Visible Row
Post by: sidads on December 06, 2013, 03:33:47 pm

Thank you very much, works like charm.