EasyUI Forum
April 25, 2024, 04:21:02 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: horizontal scroll in grid  (Read 11238 times)
Gemorroj
Newbie
*
Posts: 13


View Profile
« 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 08, 2018, 05:30:53 PM »

Please refer to this example http://code.reloado.com/aqekiq3/edit#preview
Logged
Gemorroj
Newbie
*
Posts: 13


View Profile
« Reply #2 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.
« Last Edit: October 09, 2018, 12:59:53 AM by Gemorroj » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: October 10, 2018, 01:13:07 AM »

Please look at this updated example http://code.reloado.com/aqekiq3/7/edit#preview
Logged
Gemorroj
Newbie
*
Posts: 13


View Profile
« Reply #4 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

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #5 on: October 10, 2018, 05:02:45 PM »

Please look at this example http://code.reloado.com/aqekiq3/9/edit#preview
Logged
Gemorroj
Newbie
*
Posts: 13


View Profile
« Reply #6 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"?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #7 on: October 11, 2018, 09:11:25 PM »

Yes, this updated $.parser.parseValue function will be included into the next version.
Logged
Gemorroj
Newbie
*
Posts: 13


View Profile
« Reply #8 on: October 23, 2018, 12:43:53 AM »

fixed in version 1.6.7
need only call resize in onExpand method
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!