条件不适用于Birt

问题描述 投票:0回答:1

我试图实现这一点:如果特定行上缺少任何数据,我希望您将该行设置为TWICE一样高并且有下划线。任何人都可以建议我如何做到这一点。我的条件是

if (row["Post_Converted"] || row["StatusDesc"] || row["RowVersionInitials"]) = null{
// add table border for that particular row 

}

请建议我一些想法

javascript birt
1个回答
0
投票

==进行比较,每个值都需要自己的值进行比较。我建议你从学习JavaScript的基础知识开始。

if (row["Post_Converted"] == null || row["StatusDesc"] == null || row["RowVersionInitials"] == null) {
    // add table border for that particular row 

}
© www.soinside.com 2019 - 2024. All rights reserved.