EasyUI Forum
April 29, 2024, 12:42:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Datagrid column not resizing by its content when adding new row  (Read 7263 times)
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« 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
« Last Edit: May 24, 2015, 08:31:56 PM by aswzen » Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 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/
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #2 on: May 25, 2015, 12:53:41 AM »

okay thankyou...  Smiley
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!