Jump to content
uniGUI Discussion Forums
Sign in to follow this  
mterceno

[Touch-DBGrid] How to change header & row height from Custom CSS

Recommended Posts

Hi all,
 
I can't modify these properties with CustomCSS. I tried with several examples but it doesn't work !
Only solution for the moment is implement an client event but I don't know the property to set for the Header/Column height:
 
function beforeInit(sender, config)
{
  config.itemHeight = 35; 
}
 
PS: A CSS code is much appreciate to avoid to define this event for each dbgrid on my app :)
 
Thank you for your help.

 

Share this post


Link to post
Share on other sites

Hello,

 

Thank you for your answer. The CSS code works fine only for the column height.

It remains a problème with this HTML tag :

 

<div class="x-container x-grid-header-container x-dock-item x-docked-top x-sized" id="ext-headercontainer-1" style="height: 65px !important;">

 

I tried to add this css code but it doesn't work  :wacko: .

 

.x-container .x-grid-header-container .x-dock-item . x-docked-top .x-sized{
    height: 30px !important;
}
 
Do you have any idea to modify the height for these classes (.x-container .x-grid-header-container)?
 
Best regards,

Share this post


Link to post
Share on other sites

Hi,

 

Which edition are you using and can you make a simple testcase if possible?

 

Best regards,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×