In general, iText questions should go to the mailing
list so everyone can benefit.  Since you didn't
include the resulting document I can't be 100% sure
what your problem is.  However, there are a few things
to consider:

1) Markup attributes only apply to markup output
formats--HTML/XML, unless Bruno has done more CSS work
than I am aware of.
2) The HTML attribute to set the background color of a
Table row is bgColor rather than backgroundColor.
3) Alternating row attributes look funny when combined
with rowspan!

If you keep these things in mind you should be able to
make this work for you.

-Matt

> -----Original Message-----
> From: William Redic [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 06, 2002 8:24 PM
> To:   [EMAIL PROTECTED]
> Subject:      question on setAlternatingRowAttribute
> 
> Dear Mr. Benson,
> 
> I have been trying to use the
setAlternatingRowAttribute method which 
you
> are credited with writing, and I cannot get it to
work.
> 
> Could you possibly send me an example? If it's any
help, here is the 
code
> that I wrote, which produces no effect:
> 
>
bTable.setAlternatingRowAttribute("backgroundColor","white","black");
> 
> If you can help me out, it would be most
appreciated.
> 
> Regards, Bill Redic
> 
> 
> 



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to