Page 1 of 1

Parameterization of xReport

PostPosted: Sat Jan 13, 2024 8:33 am
by Otto
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


Image

Image

Re: Parameterization of xReport

PostPosted: Sat Jan 13, 2024 10:15 am
by nageswaragunupudi
Very nice.

Re: Parameterization of xReport

PostPosted: Sat Jan 13, 2024 6:18 pm
by Otto
Dear Mr. Rao,

Thank you for the kind words. I have now inserted the diagrams.

Best regards,
Otto

Image

Image