Alternate row colors
Posted: Sun Nov 18, 2018 7:06 am
hello,
the new versions of trichviewedit support alternate table row colors which is a very nice feature.
my application is a reportdesigner where the users can create a report themselves, also containing tables. the columns of the tables are often bound to a database field.
when executing the report these tables are filled with database rows. now comes the important part:
when filling the cell value the style is taking over from the style in the first row of the same column via
however with this approach the table rows are not drawn with alternating background anymore.
somehow the cell style seems to override the row behaviour.
what is the best way to combine the styles (or the achieve alternate row coloring in this case)?
thank you
the new versions of trichviewedit support alternate table row colors which is a very nice feature.
my application is a reportdesigner where the users can create a report themselves, also containing tables. the columns of the tables are often bound to a database field.
when executing the report these tables are filled with database rows. now comes the important part:
when filling the cell value the style is taking over from the style in the first row of the same column via
Code: Select all
AddTextNL
somehow the cell style seems to override the row behaviour.
what is the best way to combine the styles (or the achieve alternate row coloring in this case)?
thank you