Senin, 14 Februari 2011

Coloring Header background

We can change the background color of header by defining the “columnHeaderColor” at “Header” tag.

Let us give a color to our employee report header, the “Employee.java” will be look like :

...
/**
    * @author Kisman Hong
    * test Kismiss Reports
*/
@Kismiss(name = "Employee", columnAutoSize=true)
@Header(columnHeaderHeight=45, isColumnHeaderBold=true, columnHeaderColor ="#BDBBBC")
@Detail(lineWidth=0.5)
public class Employee {
   …
}


The code above tell us to give the column header color, then the result will be looked like :



Tidak ada komentar:

Posting Komentar