Re: [BangPypers] Dynamic color for table column (color stored in model)

2011-11-17 Thread Gora Mohanty
On Thu, Nov 17, 2011 at 7:03 AM, kracekumar ramaraju wrote: [...] > One advice is use css to set colors.In your template check for color value > ="red" and then render css for that colour, else if you are using only 2 > colour you can  even and odd property. [...] Reportlab generates PDF, which i

Re: [BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar
Sorry my question is not clear. I want to implement the styling (dynamic color ) for reportlab table. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar
But the table is generated by reportlab tool. How I can integrate css with reportlab? ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread kracekumar ramaraju
On Wed, Nov 16, 2011 at 11:35 PM, Asif Jamadar wrote: > I have model called TestResults > > models.py > -- > > Class TestResults(models) > > chemical_name charfield > valuefloatfield > unit charfield > method charfield > normal_limit charfield > c

[BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar
I have model called TestResults models.py -- Class TestResults(models) chemical_name charfield valuefloatfield unit charfield method charfield normal_limit charfield caution_limit charfield color charfield Now, The below code wil

[BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar
I have model called TestResults models.py -- Class TestResults(models) chemical_name charfield valuefloatfield unit charfield method charfield normal_limit charfield caution_limit charfield color charfield Now, The below code wil