EasyUI Forum
June 16, 2024, 01:11:15 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: How ScrollTop Dialog when open  (Read 9650 times)
zurfero
Newbie
*
Posts: 15


View Profile
« on: June 11, 2015, 04:32:23 AM »

Hello.
I have a form inside a easyui-dialog, and in the dialog appear in the right the scrollbar because the form it's quite big.
When user close the dialog when save the data, and open other for do a new entry the scrollbar in the dialog it's in the same position that when user close the dialog.

You can see that I can explain in the next example:
http://jsfiddle.net/zurfero/8uehf435/32/

Follow this steps:
Open the dialog.
Scrollbar until the button OK
Close the dialog.
Open again the dialog, and you can see that the scroll it's NOT in the top of the form it's in the button ok..., it's at the end.

In my real dialog, I load the content with refresh function , but happen the same.


Best Regards, and thank you for your help in advance.
Smiley


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


View Profile Email
« Reply #1 on: June 12, 2015, 01:20:32 AM »

You have to scroll the center panel of the layout component. Please refer to http://jsfiddle.net/8uehf435/34/
Logged
zurfero
Newbie
*
Posts: 15


View Profile
« Reply #2 on: June 12, 2015, 08:10:18 AM »

Work perfectly !!! ....  Wink 
Thanks very much
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!