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

ui.grid.resizeColumns: Option to dynamically resize columns based on content

Open villelahdenvuo opened this issue 11 years ago • 6 comments

A grid-wide option, column-wide option and a public API method to resize columns based on the contents would be really nice.

It looks quite weird to have text cut off on some columns and some columns having too much space. Of course this can be fixed by manually setting the widths, but in my application I can have many different grids with different kinds of data so it would be nice to have this kind of option that works when the grid is resized.

I found that this is implemented in the double click event, but there is no option to enable it per column or per grid or to call it manually.

villelahdenvuo avatar May 18 '15 08:05 villelahdenvuo

This would be very nice

orzdk avatar Aug 18 '15 10:08 orzdk

Very nice

tedhohio avatar Aug 18 '15 20:08 tedhohio

Hi , Is there any solution found/released?

shsrivastava avatar Nov 30 '15 09:11 shsrivastava

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 23 '18 06:05 stale[bot]

This issue has been automatically closed because it has not had recent activity. If you believe that this is still an issue in the latest version, feel free to re-open it. Thank you for your contributions.

stale[bot] avatar Jun 22 '18 07:06 stale[bot]

Note: add help wanted label to this as it is a highly requested feature and I vaguely recall seeing a good solution for it a while back.

mportuga avatar Jun 23 '18 15:06 mportuga