Hide label space on DetailView field

sugarcrmdevelopers —  January 25, 2013 — Leave a comment

Here’s the question from the forums

I have a customCode that loads a table with somedata, but I need to remove the space where should be the label so my table have 100% of width…

Here’s a picture to better illustrate what the poster is looking to remove…

Name:  inv.png Views: 44 Size:  17.8 KB

This is a simple change you can make to the detailviewdef.php entry for that field; simply add in this property…

'hideLabel' => true, 

…and you’ll be all set. Thanks davidboris for this tip!

No Comments

Be the first to start the conversation!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s