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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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 1 Year, 5 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 1 Year, 5 Months ago Karma: 666
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 1 Year, 5 Months ago Karma: 0
Ok, I can color rows and columns. But fields? Like this:

Color fields

Last Edit: 2016/05/02 02:50 By aplauz.
The administrator has disabled public write access.
 
#57578
Re:Different background in fields 1 Year, 5 Months ago Karma: 666
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 1 Year, 5 Months ago Karma: 0
Yes, exactly. Is this possible?
The administrator has disabled public write access.
 
#57580
Re:Different background in fields 1 Year, 5 Months ago Karma: 666
The possible solution is described here.

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