Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Conditional hiding of a table.
srikala
we want to hide a table based on a condition. We tried using hide element under visibility property. But it is not hiding the table.
EX: suppose we have two fields errorflag and error message in ErrorInfoTable. when the error flag is one, the table should be shown with the error message and the following tables should be hidden.
When the error flag is zero, the error table should be hidden and the remaining tables should be shown.
Find more posts tagged with
Comments
Hans_vd
Hi Srikala,
This should be working very well.
Can you post the expression you entered in the visibility property?
Regards
Hans
srikala
<blockquote class='ipsBlockquote' data-author="'Hans_vd'" data-cid="79577" data-time="1309852302" data-date="05 July 2011 - 12:51 AM"><p>
Hi Srikala,<br />
<br />
This should be working very well.<br />
Can you post the expression you entered in the visibility property?<br />
<br />
Regards<br />
Hans<br /></p></blockquote>
<br />
<br />
ErrorFlag =0 then hide error table info and show the following tables <br />
row["UnitCollection::COLLECT_ERROR_FL"] = 0
Hans_vd
You should write the expression to evaluate to TRUE if the table should NOT be visible
So, in the visibility property expression of the errors table you write:
if (row["UnitCollection::COLLECT_ERROR_FL"]==0) { true } else { false }
In the visibility property expression of the other tables you write:
if (row["UnitCollection::COLLECT_ERROR_FL"]==0) { false } else { true }
Hope this helps
Hans
srikala
<blockquote class='ipsBlockquote' data-author="'Hans_vd'" data-cid="79590" data-time="1309864180" data-date="05 July 2011 - 04:09 AM"><p>
You should write the expression to evaluate to TRUE if the table should NOT be visible<br />
<br />
So, in the visibility property expression of the errors table you write:<br />
if (row["UnitCollection::COLLECT_ERROR_FL"]==0) { true } else { false }<br />
<br />
In the visibility property expression of the other tables you write:<br />
if (row["UnitCollection::COLLECT_ERROR_FL"]==0) { false } else { true }<br />
<br />
<br />
Hope this helps<br />
Hans<br /></p></blockquote>
<br />
Thanks a lot , it worked.