angular-ui/ui-grid

Right pinned column hidden by scrollbar

Open

#4.517 geöffnet am 14. Okt. 2015

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
grid-pinninghelp wanted

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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