Jump to content

Recommended Posts

Hello;

I would like to change the HEIGHT of the unimDBGrid in both the header and the data rtows.

 

I've seen several posts here that are older and looked like they may have promise to work, but I couldn't get any of them to work.

 

Here's a snippet that I thought might work, but didn't.

Hi Hank. 
 
One of the solutions, try: 
 
UniDBGrid1 -> ClientEvents -> ExtEvents ... add the afterrender function 
function afterrender(sender, eOpts)
{
  sender.getEl().select('.x-progress-text').each(function (el) {el.setStyle("font-size", "14px")})  
}
Sincerely.
 

The post indicated to add a "afterrenderter" function. I couldn't find the "afterrender" in the list, when I opened  unimDBGrid1 -> ClientEvents -> ExtEvents in the properties window.

 

Is there a way to do this? In particular, I am interested in doing this for the MOBILE DBGrid. I'm probably misunderstanding something.

 

The reason I want smaller text is so that I can have more rows displayed on the phone. As a side-note, I don't even care if the font is smaller as long as I can get the row height smaller. The text actually is small enough. There's just way too much empy space above and below the text, within each row.

 

Thanks in advance

 

Davie

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...