This test rule is hide the third row when A1=1. 2.method
(1) Modify the SheetRow class in the tm1webcore.jar.
Code: Select all
public boolean isVisible() {
//------add-----------
for(SheetCell cell: m_Cells) {
ConditionalStyle style = cell.getConditionalStyle();
if(style!=null) {
if(style.getStyle("backgroundColor").equals("transparent")) {
return false;
}
}
}
//-------------------
return this.m_Visible;
}