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?

Colour to Specific cells in CSV
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Colour to Specific cells in CSV
*
#53068
Colour to Specific cells in CSV 9 Years, 2 Months ago Karma: 0
Hi there,
Hope everything is good...
I have a doubt...

Is it possible to colour specific cells in a table displaying a CSV file?

Thanks very much

Manu
The administrator has disabled public write access.
 
#53071
Re:Colour to Specific cells in CSV 9 Years, 2 Months ago Karma: 746
Hello,

Do you want to change color for cells in specific positions (for example the second column in the third row, the first column in the second row and etc.) or for cells which contain specific value?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53073
Re:Colour to Specific cells in CSV 9 Years, 2 Months ago Karma: 0
Hi...
Thanks for the quick reply...

I have a table with different values of customer accumulated money.
I would like to colour in red colour, the cells that have been paid to customer and leave normal the cells which haven't been paid.

I have the colour version of the table in xls, but as i have to convert to CSV, all the colours are gone....
Is that al all possible??
Thanks
Manu
The administrator has disabled public write access.
 
#53074
Re:Colour to Specific cells in CSV 9 Years, 2 Months ago Karma: 746
Only possible solution is using HTML code in CSV files. For example wrap a value with the following code:

Code:


<DIV style="color:red">value goest here</DIV>



or

Code:


<DIV class="status-paid">value goest here</DIV>



and add the following CSS rule to "CSS Styles" parameter in module settings:

DIV.status-paid {color:red;}

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53078
Re:Colour to Specific cells in CSV 9 Years, 2 Months ago Karma: 0
Thanks....
So it would have to be done cell by cell....?

I guess if i am looking to a file with a few hundreds of values, that would be pretty chaotic...
Would it be any easier way?? or any other tool to do it?

Thanks a lot....
Manu
The administrator has disabled public write access.
 
#53082
Re:Colour to Specific cells in CSV 9 Years, 2 Months ago Karma: 746
Is it possible to detect somehow what color should be for a cell? For example by cell value of value from another cell?

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