Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Different background in fields
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Different background in fields
#57572
Different background in fields 7 Years, 12 Months ago Karma: 0
Hello.
Is possible to set different background on different fields? Because CSV format don't save information about background colors.
BR
aplauz
The administrator has disabled public write access.
 
#57574
Re:Different background in fields 7 Years, 12 Months ago Karma: 747
Hello,

If "Advanced styling" parameter is set to "Yes" in module settings, each row will have the following CSS class:

ari-tbl-row-ROWINDEX

and each column:

ari-tbl-col-ROWINDEX

Where ROWINDEX is a zero based row index and COLINDEX is a zero based column index. It will be 0 (ari-tbl-row-0) for the first row, 1 for the second row (ari-tbl-row-1) and etc. It can be used to add custom styles for specific row(s). For example if want to use bold style for all columns in the second row, add the following code to "CSS Styles" parameter in module settings:

{$id} .ari-tbl-row-1 TD {font-weight:bold}

If want to use red background for all first column, add the following code to "CSS Styles" parameter:

{$id} TBODY .ari-tbl-col-0 {background-color:red;}

Regards,
ARI Soft
The administrator has disabled public write access.
 
#57576
Re:Different background in fields 7 Years, 12 Months ago Karma: 0
Ok, I can color rows and columns. But fields? Like this:

Color fields

Last Edit: 2016/05/02 08:50 By aplauz.
The administrator has disabled public write access.
 
#57578
Re:Different background in fields 7 Years, 12 Months ago Karma: 747
Do you want to use some background color based on value in a column?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#57579
Re:Different background in fields 7 Years, 12 Months ago Karma: 0
Yes, exactly. Is this possible?
The administrator has disabled public write access.
 
#57580
Re:Different background in fields 7 Years, 12 Months ago Karma: 747
The possible solution is described here.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1