EasyUI Forum
October 19, 2025, 07:53:08 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: difference between 1.4.4 and 1.4.5  (Read 7459 times)
korenanzo
Guest
« on: May 26, 2016, 01:14:45 AM »

I am using jeasyui 1.4.4;

Now I would upgrade but have a problem:

in 1.4.4 I can resize a textbox  using
Code:
$('#a').textbox({
   width: '100px',
   height: ''30px'',
});
http://www.jeasyui.com/forum/index.php?topic=5550.msg14179#msg14179


if I do this in 1.4.5 is it like recreating a brand new textbox, in fact I lose all previous configurations and settings and event bindings.
I cannot use .textbox('resize') because it resizes only the width, I need to modify the height, too.

Any solution?

Thanks,
RIc
Logged
jarry
Administrator
Hero Member
*****
Posts: 2300


View Profile Email
« Reply #1 on: May 26, 2016, 02:09:01 AM »

Please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.5-patch.zip. Now you can call the code below to resize the height of a textbox component.
Code:
$('#a').textbox('resize', {
  width: 100,
  height: 30
});
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!