EasyUI Forum

General Category => Bug Report => Topic started by: Gemorroj on October 08, 2018, 08:12:23 AM



Title: horizontal scroll in grid
Post by: Gemorroj on October 08, 2018, 08:12:23 AM
If make DataGrid with parameters "width:100%;height:auto", we get a horizontal scroll.
Simple video: http://recordit.co/Ctw0dzNEud


Title: Re: horizontal scroll in grid
Post by: stworthy on October 08, 2018, 05:30:53 PM
Please refer to this example http://code.reloado.com/aqekiq3/edit#preview


Title: Re: horizontal scroll in grid
Post by: Gemorroj on October 09, 2018, 12:17:11 AM
Thanks for reply!
Here's a slightly tweaked example with the problem: http://code.reloado.com/aqekiq3/6/edit#preview
---
The bottom line is I need to display a lot of tables. With automatic height.


Title: Re: horizontal scroll in grid
Post by: stworthy on October 10, 2018, 01:13:07 AM
Please look at this updated example http://code.reloado.com/aqekiq3/7/edit#preview


Title: Re: horizontal scroll in grid
Post by: Gemorroj on October 10, 2018, 02:59:48 AM
Thank you, this fixes the problem in part.
Now watch what happens if you specify 'collapsed: true` (no group titles and have horizontal scroll on expand).

http://code.reloado.com/aqekiq3/8/edit#preview



Title: Re: horizontal scroll in grid
Post by: stworthy on October 10, 2018, 05:02:45 PM
Please look at this example http://code.reloado.com/aqekiq3/9/edit#preview


Title: Re: horizontal scroll in grid
Post by: Gemorroj on October 10, 2018, 11:32:58 PM
Thank you!
Are you planning to add these fixes to the main branch? At least "$.parser.parseValue"?


Title: Re: horizontal scroll in grid
Post by: stworthy on October 11, 2018, 09:11:25 PM
Yes, this updated $.parser.parseValue function will be included into the next version.


Title: Re: horizontal scroll in grid
Post by: Gemorroj on October 23, 2018, 12:43:53 AM
fixed in version 1.6.7
need only call resize in onExpand method