ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
How to scoll to given value?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to scoll to given value? (Read 2610 times)
[email protected]
Pro Enterprise
Newbie
Posts: 30
How to scoll to given value?
«
on:
December 14, 2014, 01:02:46 pm »
Hello,
I have a grid with primary key column, having multiple pages. Am I able to programatically select proper page and scroll to proper row on there when I know the key value?
Any help appreciated.
Jan
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: How to scoll to given value?
«
Reply #1 on:
December 15, 2014, 03:35:03 pm »
First you have to find rowIndx of the row having given primary key value by iterating over the rows in dataModel.data
Then you can use these methods to scroll to that particular page and row.
http://paramquery.com/pro/api#method-goToPage
http://paramquery.com/pro/api#method-scrollRow
Logged
[email protected]
Pro Enterprise
Newbie
Posts: 30
Re: How to scoll to given value?
«
Reply #2 on:
December 17, 2014, 01:36:50 am »
Thanks, it helped.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
How to scoll to given value?