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

Resizing not working when column width is set with a percentage

Open franciscopuyo opened this issue 11 years ago • 2 comments

Hi, I set a percentage as a column width but now it doesn't resize.

This one of my column definition. { displayName: 'id', width: "20%", resizable: true, cellRenderer: function(params) { return params.data.id(); } }

franciscopuyo avatar Sep 01 '15 17:09 franciscopuyo

In fact, percentage width only applies to the header. Items rows are set with width: 20%px; In this case.

I think its a bug, its adding "px" prefix even if I set width as a percentage

franciscopuyo avatar Sep 01 '15 17:09 franciscopuyo

Not reproducible on latest version: http://plnkr.co/edit/v32HnqVEYEOEHmQlbQ6H?p=preview

mportuga avatar May 19 '18 16:05 mportuga