Background
Sometimes, we will meet a manifest table with abundant rows of records, and it may be very dazzled. Therefore, we feel difficult to read it, even we may misread it.
Based on this manifest table, users of Web reporting tool have various requirements:
1. Set odd rows and even rows with different background color. This may make report clearer.
2. When a row is selected, its background color will be changed to another. Then, users can focus on there interested row exactly.
3. Change the background color of records satisfying some conditions to a same one. When users want to look over only one kind of records, this function will be very useful.
4. When users are amending data, change the background color of cells which have been amended. When there are a mass of cells, it will help users to correctly judge whether a cell has been amended or not.
Through these requirements, you can find that the dynamic modification of background can be very helpful in practical business. However, if users have to write programs to satisfy these requirements, the loss may outweigh the gain.
Solution
As a professional Web reporting tool, RAQ Report is good at making input report. For users’ convenience, RAQ Report provides a complete easy solution to dynamically control cell appearances with expressions. Therefore, cell appearances, including font name, font size, foreground color, background color, etc, can be determined by the values of current cell, current row, current column, even a cell in different rows and columns with main-sub relation.
Take dynamic modification of background color for an example, RAQ Report provides many ready JavaScript functions. As a result, it will be very convenient and simple for users, as they only need to designate color value.
Operation
In input report design, users only need to define expressions for cell appearances according to business requirement. Such as foreground color or background color.
If users want to dynamically control background color on web page, they only need to define corresponding color value in JSP, and set corresponding TAG attributes.
Graphic Illustration
Different background color in odd and even rows, and rows satisfying conditions
The background color changed when the column is selected
The background color changed when the content changed.
RAQSOFT: Innovative Techology Makes Progress.
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 are also welcome to refer to my blog.
没有评论:
发表评论