ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Scrolling to right and left ng-grid Version: 2.0.11

Open myGitHubForum opened this issue 12 years ago • 3 comments

I do have ng-grid with 50+ columns and header is having the dates (Sep 11, Oct 11, Nov 11 ... Aug 14, Sep 14, Oct 14...Nov 15, Dec 15)

Currently the scrollbar will be at the left position of first column. I want to scroll to the column with the current date (Sep 14). Is this possible to move the scroll bar based on the header column ?

Can someone help me out?

Thanks!

myGitHubForum avatar Sep 23 '14 18:09 myGitHubForum

In 3.0 the cellNav api provides a scrollTo method: http://ui-grid.info/docs/#/api/ui.grid.cellNav.api:PublicApi#scrollTo

In 2.x there's no way that I'm aware of if the columns are being virtualized.

c0bra avatar Sep 24 '14 15:09 c0bra

I am using 2.0.11. For me the horizontal scroll is creating problem. Only the columns that are visible without need of scroll are present. When i scroll right i get empty grid.

ManojSridhar avatar Nov 12 '14 12:11 ManojSridhar

I am using the same version too. I am not seeing issue as of now with the horizontal scroll.

On Wed, Nov 12, 2014 at 6:07 AM, ManojSridhar [email protected] wrote:

I am using 2.0.11. For me the horizontal scroll is creating problem. Only the columns that are visible without need of scroll are present. When i scroll right i get empty grid.

— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ng-grid/issues/1575#issuecomment-62708806.

myGitHubForum avatar Nov 12 '14 18:11 myGitHubForum