EasyUI Forum
December 06, 2025, 12:52:16 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Question about table and textbox  (Read 9795 times)
mzeddd
Full Member
***
Posts: 223



View Profile
« on: March 28, 2016, 05:03:18 AM »

I'm trying to put the following table
Code:
<table style="width:100%" border=1>
<tr>
<td style="width:30px"><input class="easyui-textbox" style="width:30px" value="TC" disabled></td>
<td style="width:5px">-</td>
<td style="width:130px"><input class="easyui-textbox" style="width:130px" value="CODE" disabled></td>
<td style="width:5px">-</td>
<td style=""><input class="easyui-textbox" style="width:100%" value="UNIQ_ID" disabled></td>
</tr>
</table>
into "east" layout (inside Dialog) discussed in this topic http://www.jeasyui.com/forum/index.php?topic=5742.0

When I resize panel to make it bigger UNIQ_ID field gets bigger as expected but it is not getting smaller when I resize panel in opposite direction.

Do you know what I'm doing wrong?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: March 28, 2016, 05:00:35 PM »

The 'table-layout:fixed' style should be applied to the <table>.
Code:
<table style="width:100%;table-layout:fixed" border=1>
...
</table>
Logged
mzeddd
Full Member
***
Posts: 223



View Profile
« Reply #2 on: March 29, 2016, 01:26:21 AM »

Perfect!

Thanks!
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!