My grid is having around 16 columns and while entering the data User scrolls the scollbar to the extreme right and make the tab change .
And when the user switch backs to the tab where the grid is in place the scroll bar comes to the first position (visually) and the first few columns are not gets painted.
seeking for a solution where I can make the scroll bar positioned correctly, As in many of the API of repainting the canvas they are using previousScollBar position which in my case is wrong.
I need to scroll the grid according to my requirement.

My grid is having around 16 columns and while entering the data User scrolls the scollbar to the extreme right and make the tab change .
And when the user switch backs to the tab where the grid is in place the scroll bar comes to the first position (visually) and the first few columns are not gets painted.
seeking for a solution where I can make the scroll bar positioned correctly, As in many of the API of repainting the canvas they are using previousScollBar position which in my case is wrong.
I need to scroll the grid according to my requirement.