EasyUI Forum
September 13, 2025, 07:34:14 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 autoSizeColumn does not display vertical scrollbar  (Read 6426 times)
tomb
Newbie
*
Posts: 14


View Profile
« on: September 21, 2014, 08:36:02 AM »

I'm using the datagrid's autoSizeColumn method to adjust the column width according to the content's width.  However, if that content is quite wide, a vertical scrollbar won't be displayed until the entire datagrid gets resized by its parent container.

I tried forcing a layout re-do of the datagrid's panel, but that didn't help.
Code:
$('#dg').datagrid('getPanel').panel('doLayout');

Also, I noticed that the tree's hover/selection doesn't display correctly when the tree has vertical scrolling and is scrolled to the right.
Logged
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!