EasyUI Forum
September 14, 2025, 10:57:23 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: Datagrid row "height" adjustment  (Read 10882 times)
getk
Newbie
*
Posts: 23


View Profile
« on: August 12, 2013, 04:42:16 AM »

Hi, Continuing from my previous thread http://www.jeasyui.com/forum/index.php?topic=2028.0
I was able to change font of the alerts with help of "Stworthy" advice. (from font-size 12px to 10px)

But the "Row" height is not adjusted with the reduced font. (I believe autoRowHeight is defaulted to true, but still the height remains the same for font-size 12px)
Is there a way to adjust the "Row" height to change as per font-reduction?  (or specify row height manually)
« Last Edit: August 12, 2013, 04:47:11 AM by getk » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 12, 2013, 05:38:49 AM »

Try to set 'datagrid-row' style.
Code:
<style>
.datagrid-row{
    height:25px;
}
</style>
Logged
getk
Newbie
*
Posts: 23


View Profile
« Reply #2 on: August 13, 2013, 02:03:38 AM »

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