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
»
Add row dynamic, and how scrollbar auto scroll to bottom(the new row position)?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add row dynamic, and how scrollbar auto scroll to bottom(the new row position)? (Read 1333 times)
zhouqi
Pro Ultimate
Newbie
Posts: 16
Add row dynamic, and how scrollbar auto scroll to bottom(the new row position)?
«
on:
January 21, 2021, 08:46:57 am »
Hello,
How do I make the scroll bar automatically scroll down to the bottom(the new row position) , when add a new row dynamically ?
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Add row dynamic, and how scrollbar auto scroll to bottom(the new row position)?
«
Reply #1 on:
January 21, 2021, 03:32:58 pm »
Get rowIndx of the newly added row ( return value of addRow method ) and pass it to scrollRow method
https://paramquery.com/pro/api#method-addRow
https://paramquery.com/pro/api#method-scrollRow
«
Last Edit: January 21, 2021, 06:19:29 pm by paramvir
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Add row dynamic, and how scrollbar auto scroll to bottom(the new row position)?