Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Hide row if element is empty
Hide row if element is empty [message #953451] Mon, 22 October 2012 08:58 Go to next message
Chris Greenwood is currently offline Chris GreenwoodFriend
Messages: 1
Registered: October 2012
Junior Member
Hi all,

I have this expression in an element in the detail row of my table:

if(dataSetRow["INSTR_NAME"] == null)
'hide row'

However instead of displaying the string "hide row" I need it to actually hide the row.

Is there a way to do this?

Re: Hide row if element is empty [message #954204 is a reply to message #953451] Mon, 22 October 2012 21:37 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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.


Developer Evangelist, Silanis
Previous Topic:Changing style of hyperlinks
Next Topic:Render Task - Event Handler, Sorting/Filtering, etc.
Goto Forum:

Current Time: Sat Feb 04 23:27:11 GMT 2023

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

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

Back to the top