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

Grid with pinned columns width is incorrect

Open dshybeka opened this issue 12 years ago • 5 comments

I was simply playing with pinning functionality on http://ui-grid.info/docs/#/tutorial/203_pinning.

  1. { name:'friends[2].name', displayName:'3rd friend', width:150 } - this row is not displayed on UI at all;
  2. almost the same issue as the first one - if even one column is pinned width of viewport calculated incorrectly. See plunker: http://plnkr.co/edit/3I3OCeHj9hLLcI8CZBSz?p=preview.

dshybeka avatar Nov 18 '14 15:11 dshybeka

In that plunker, things look generally OK to me.

  1. This column is displayed for me
  2. The viewport looks OK to me - what exactly do you mean by the width is calculated incorrectly?

PaulL1 avatar Nov 18 '14 22:11 PaulL1

Please see image attached. The horizontal scroll is in max right position but last column is not fully displayed.(chrome Version 38.0.2125.111)

plunkr_2_img

dshybeka avatar Nov 19 '14 14:11 dshybeka

Here is another sample to reproduce the issue: http://jsbin.com/kovine/2 2014-12-02_17-48-39

darkthread avatar Dec 02 '14 10:12 darkthread

I think this is now resolved - could you retest?

PaulL1 avatar Jan 14 '15 22:01 PaulL1

@PaulL1 Yes, the bug is fixed! Confirmed in both JSBin and my own project. Thanks for your wonderful support.

darkthread avatar Jan 15 '15 03:01 darkthread