How to move to nth column in handsontable which is currently not visible?

How to move to nth column in handsontable which is currently not visible ?

I have to automate one testcase , in selenium webdriver using java

Scenario:
1.table with 100 columns and 200 rows

2.at a time only 10 columns and 10 rows are visible

3.i have to click / perform action on 40th column 1st row which is currently not visible, how to move to 40th coulmn in selenium , since selenium can interact when element is visible

NOTE: first 3 columns are static , when we are at 10th column and we click next tab then next next (11th)becomes visible along with those static coloumns
so it will be like
1,2,3 ,5,6,7,8,9,10,11

again if i click next tab then

1,2,3,6,7,8,9,10,11,12

Expectation:
1.how to move to 40th column or any nth column in handsontable to make it visible so that selenium can interact.

Hi @akhouri.sharma

You can use a scrollViewportTo method, here’s and example: http://jsfiddle.net/begbprme/
and docs: https://docs.handsontable.com/pro/1.8.0/Core.html#scrollViewportTo