Hide row if element is empty [message #953451] |
Mon, 22 October 2012 04:58  |
Eclipse User |
|
|
|
Hi all,
I have this expression in an element in the detail row of my table:
if(dataSetRow["INSTR_NAME"] == null)
{
'hide row'
}
else
{
dataSetRow["INSTR_NAME"]
}
However instead of displaying the string "hide row" I need it to actually hide the row.
Is there a way to do this?
Thanks
|
|
|
Re: Hide row if element is empty [message #954204 is a reply to message #953451] |
Mon, 22 October 2012 17:37  |
Eclipse User |
|
|
|
Select the detail row, by clicking on the detail row tab to the left of the table, when the table is selected. Then, go to the visibility section of the property editor. Here, you can enter an expression like:
row["INSTR_NAME") == null
If this condition return true, the row will be hidden, if it return false, it will show. Hope this helps.
|
|
|
Powered by
FUDForum. Page generated in 0.33963 seconds