Author Topic: Move focus to a certain row's dataIndx by a method.  (Read 1670 times)

kiwon34

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Move focus to a certain row's dataIndx by a method.
« on: February 18, 2020, 02:51:57 pm »
Hello param,

I want to activate an editable cell by giving focus through a method.
The column is already editable, and the cell is editable by clicking it, but is there a way to do it by a certain method?

Thank you.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Move focus to a certain row's dataIndx by a method.
« Reply #1 on: February 18, 2020, 03:24:18 pm »
Please use focus method:

https://paramquery.com/pro/api#method-focus

you may first need to call scrollCell method if the cell is outside the viewport.

https://paramquery.com/pro/api#method-scrollCell