CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 changing the font attributes in a grid

Print topic Send  topic

Author Message
gpdeering

Posts: 57
Posted: 12/09/2005, 5:56 AM

All:

I'd like to change the font to bold type in a few columns. However, I do not see an appropriate font type attribute for the label. Perhaps this is because the CCS design environment doesn't work this way.

I'm using CCS 3.0 and I am using Styles (not Themes). Perhaps this is normally where all fonts and their attributes are controlled (duh!) But I do not want every column in bold font, just specific ones.

Any ideas?

Thanks for your help.

gpdeering
View profile  Send private message
Walter Kempees
Posted: 12/09/2005, 6:34 AM

This may be too simple answer, but:

Switch to HTML mode in CCS IDE, you will find something like this :
  
<!-- BEGIN Row -->  
<tr class="Row">  
   <td>{fieldname1}&nbs';</td>  
   <td>{fieldname2}&nbs';</td>  
   <td>{fieldname3}&nbs';</td>  
   <td>{fieldname4}&nbs';</td>  
<!-- END Row -->  

Approach 1: simply displaying <b>bold</b>,
   
<td><b>{fieldname1} </b></td> 
Approach2: do font magic,
 <td ><font   
......>{fieldname1} </font></td> 
Approach3 (best!): change your css style sheet, or rather add a line .bold
with the proper attributes to class Row and use the subclass from the
Designer IDE in the label's Format properties.

I think.
Walter



"gpdeering" <gpdeering@forum.codecharge> schreef in bericht
news:243998d239d9c7@news.codecharge.com...
> All:
>
> I'd like to change the font to bold type in a few columns. However, I do
> not
> see an appropriate font type attribute for the label. Perhaps this is
> because
> the CCS design environment doesn't work this way.
>
> I'm using CCS 3.0 and I am using Styles (not Themes). Perhaps this is
> normally
> where all fonts and their attributes are controlled (duh!) But I do not
> want
> every column in bold font, just specific ones.
>
> Any ideas?
>
> Thanks for your help.
>
> gpdeering
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

gpdeering

Posts: 57
Posted: 12/09/2005, 9:28 AM

Thanks! Approach 3 is similar to what I was looking for. I can do HTML, but I'd prefer the best approach rather than using a quick "bandaid".

gpdeering
View profile  Send private message
Walter Kempees
Posted: 12/09/2005, 11:25 AM


Hi,
Which style are you useing, assuming you only use one.
Also inline styles are allowed, setting this one class can thus be done on a
page to page basis.
Just be careful of the 'inheritence factor'.


"gpdeering" <gpdeering@forum.codecharge> schreef in bericht
news:24399bea6b8716@news.codecharge.com...
> Thanks! Approach 3 is similar to what I was looking for. I can do HTML,
> but
> I'd prefer the best approach rather than using a quick "bandaid".
>
> gpdeering
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.