angular-ui/ui-grid

Right pinned column hidden by scrollbar

Open

#4,517 opened on Oct 14, 2015

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
grid-pinninghelp wanted

Description

I have a narrow column, only 20 pixels wide, that contains a pencil icon for opening the record in an edit page. I want to pin this column to the right so that it will always be visible even with a horizontal scroll.

My problem is that when I add 'pinnedRight' to the column definition, it's placed under the vertical scrollbar but still leaves a 20 pixels gap between the scrollbar and the last but one column.

If I increase the with of the column to 45 pixels, the Icon is displayed, but still leaves a gap to the other colmn.

See my attached images for explanation.

Not pinned: not pinned

Pinned right: pinned right

Wider column: wider column

Contributor guide

Right pinned column hidden by scrollbar · angular-ui/ui-grid#4517 | Good First Issue