Skip to main content



      Home
Home » Archived » BIRT » Hide row if element is empty
Hide row if element is empty [message #953451] Mon, 22 October 2012 04:58 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Changing style of hyperlinks
Next Topic:Render Task - Event Handler, Sorting/Filtering, etc.
Goto Forum:
  


Current Time: Tue Jul 22 19:41:05 EDT 2025

Powered by FUDForum. Page generated in 0.33963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top