FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Hide rows by adjusting row height in web report design with Java reporting tool

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
becklery



Joined: 18 Apr 2009
Posts: 42

PostPosted: Wed Jun 24, 2009 2:48 am    Post subject: Hide rows by adjusting row height in web report design with Java reporting tool Reply with quote

When design report, we often display all the content of web report. However, according to some special conditions, we may need to hide some corresponding rows in web report design.

Most designers choose to hide rows with condtion control. But in some conditions, it is very inconvenient. However, with RAQ Report, users can hide rows with some more flexible methods.

Here, I introduce a method which control row height with conditions to hide rows.

In grouping web report, when computing the sum of a group, it often need to hide the result. It can be realized by hiding rows according to conditions, but this may be inconvenient sometimes. In this condition, it can be also realized by adjusting row height.

Take 6.3.raq in the Quick_Start_Examples in the RAQ Report installation package. In this report, there is a sum of company number in each group. When the sum is 0, it should be hided.

With RAQ Report, users just need to write the height expression of the row as if(C3{}==7,0,8 ). Then, when the data of cell C3 is 0, the row height will be set as 0. So the row turned to invisible.

You could download RAQ Report from this URL: http://www.raqsoft.com/download/install-package/

This post is from freezea's blog. You are welcomed cc it anywhere, and please indicate the source.

If you would like to read more articles about reporting tool, you can refer to his blog.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB