EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: tomb on September 21, 2014, 08:36:02 AM



Title: Datagrid autoSizeColumn does not display vertical scrollbar
Post by: tomb 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.