设置报表合计行的样式
Posted 一发寒冰箭
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了设置报表合计行的样式相关的知识,希望对你有一定的参考价值。
[Description("客户端插件")] public class LT_PRD_ZYDailyEdit : AbstractSysReportPlugIn { private string _SubFormPageId = string.Empty; public override void AfterBindData(EventArgs e) { List<FormatCondition> list = new List<FormatCondition>(); list.Add(new FormatCondition { ApplayRow = true, Key = "FRowType", FieldType = 0x23, Cellvalue1 = "1", Condition = 1, BackColor = "#8DEEEE", FontBold = true }); list.Add(new FormatCondition { ApplayRow = true, Key = "FRowType", FieldType = 0x23, Cellvalue1 = "2", Condition = 1, BackColor = "#00a6ac", ForeColor = "#FF0000", FontBold = true }); list.Add(new FormatCondition { ApplayRow = true, Key = "FRowType", FieldType = 0x23, Cellvalue1 = "3", Condition = 1, BackColor = "#00a6ac", ForeColor = "#FF0000", FontBold = true });
以上是关于设置报表合计行的样式的主要内容,如果未能解决你的问题,请参考以下文章