Hello friends,
In the xReport Generator, we use the original attributes of HTML for the setup hash as much as possible, so one gets accustomed to the terminology.
Here is an example:
In xReport, the table head is declared as:
<thead class="custom-thead">
In our project, we use a custom CSS class named .custom-thead to style the appearance of table headers.
This class is applied to the <thead> element of the table to give it a unique look.
The .custom-thead class is defined as follows:
.custom-thead {
background-color: #007bff; /* Blue */
color: white;
}
This definition causes the background of the table head to appear in a bright blue (#007bff), while the text is in white.
This design ensures high contrast and clear readability of the headers in the table.
cHtmlTmp += 'background-color: ' + hReport['custom-th-background-color'] + ';'
cHtmlTmp += 'color: ' + hReport['custom-th-color'] + ';'
Best regards,
Otto