Parameterization of xReport

Parameterization of xReport

Postby Otto » Sat Jan 13, 2024 8:33 am

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Parameterization of xReport

Postby nageswaragunupudi » Sat Jan 13, 2024 10:15 am

Very nice.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10641
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Parameterization of xReport

Postby Otto » Sat Jan 13, 2024 6:18 pm

Dear Mr. Rao,

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

Best regards,
Otto

Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 105 guests