In AngularJS ui-grid , how can I configure the grid so that it can auto adjust the width of the columns according to the contents when it render?
I know there is a tutorial showing the auto size function, but that works only when you double click the column, I wish it could happen when the grid is initiated.
use an asterisk in your column definition:
width:"*";