angular-ui/ui-grid

Right pinned column hidden by scrollbar

Open

#4 517 ouverte le 14 oct. 2015

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
grid-pinninghelp wanted

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur