Author Topic: Add row dynamic, and how scrollbar auto scroll to bottom(the new row position)?  (Read 1332 times)

zhouqi

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 16
    • View Profile
Hello,
How do I make the scroll bar automatically scroll down to the bottom(the new row position) , when add a new row dynamically ?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
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 »