简体   繁体   English

条件在Birt中不起作用

[英]condition is not working in Birt

i am trying to achieve this: If any of the data is missing on a specific line, I want you to make that line TWICE as tall and have underlines . 我正在尝试实现这一点:如果特定行上缺少任何数据,我希望您将该行设置为TWICE并设置下划线。 can anyone suggest me how would i do that . 谁能建议我该怎么做。 my if condition is 我的条件是

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

}

please suggest me with some idea 请给我一些建议

comparision is done with == and each value needs its own value to compare to. 比较是通过==完成的,每个值都需要使用自己的值进行比较。 I suggest you start with learning the basics of JavaScript. 我建议您从学习JavaScript基础开始。

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

}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM