EasyUI Forum

General Category => Bug Report => Topic started by: aswzen on May 24, 2015, 08:28:28 PM



Title: Datagrid column not resizing by its content when adding new row
Post by: aswzen on May 24, 2015, 08:28:28 PM
Look at this fiddle :

http://jsfiddle.net/aswzen/px17g9cw/1/

Why the column not resizing by its content when i try to add new row?

Any explanation?

Thank you


Title: Re: Datagrid column not resizing by its content when adding new row
Post by: jarry on May 25, 2015, 12:08:57 AM
Please call 'autoSizeColumn' method to adjust the column width to fit the content.
http://jsfiddle.net/px17g9cw/2/


Title: Re: Datagrid column not resizing by its content when adding new row
Post by: aswzen on May 25, 2015, 12:53:41 AM
okay thankyou...  :)