Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: color where condition in table  (Read 13352 times)
Stefan S.
Posts: 90


« on: January 30, 2008, 02:28:45 pm »

Hello List,
In the mailing-archive I found a post about the color-condition in tables. I think that request is still open.

https://4js.com/fjs_forum/archive/msg00508.php

Has anybody an idea how to highlight the rows in a table table if an condition is true ??
I am able to manage this in a "normal array" but that looks not very fine.

Thanks in advance


kind regards
Stefan Serwe

 
L U T Z   Büro- und Datentechnik GmbH
Im Taubental 25, 41468 Neuss
Telefon : 02131 -34 13 -0   Telefax : 02131 -34 13 -88
Bernard M.
Four Js
Posts: 45


« Reply #1 on: January 31, 2008, 01:31:22 pm »

Hello,

What do you mean by "normal array"?

Feature #Fz.1780 is not implemented yet, but since the condition in COLOR WHERE can only reference the field for which the attribute is set, I'm not sure this form attribute would really solve your problem.

You can use DIALOG.setCellAttributes() to set colors on the cells of a table.
Attached is a simple example on how you could do to set colors on whole rows: depending of the value of the fourth column the color of the entire row changes. To give you an overall idea...

Best regards,

* test.tgz (1.03 KB - downloaded 1458 times.)
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines