Views Reply Votes
Gergő Deák
Gergő
 0
how to add/define column color 2018EE
234
8
0 (0 Votes)
Posted: Mar 11, 2019   
Votes
Robert Jensen
Robert
 576
Replied 

The browse cell color is set by a program called "com/qad/shell/browse/wo081.r". When a browse (wo081 in this case) is run, the browse engine looks for this program.

The call signature is important. The handle to the browse results tab is sent in. There is a hidden field in the browse table called "local-variables.decoration_cell". This character field is a comma separated list of field names and status. The color for each status is set in client-session.xml.

Take a look at the program on your system and you will see how it is set.

+1 (1 Vote)
Replied: Apr 16, 2019
Votes
Paulius Jucys
Paulius
 4
Replied 

Hi,

how can I change colors in client-session.xml ?

Didin't find any code based on colors setup so I assume there are 3 default colors:

Status_3 - green, warning - yellow and error - red.

This is possible to add new colors or change existing ones?

Regards

Paulius

 

0 (0 Votes)
Replied: Sep 04, 2019
Votes
Tomaz Ranzinger
Tomaz
 89
Replied 
@Robert, how to change color of browse cell depending of browse condition: for example, if qty falls under some level, we want red color of cell?
0 (0 Votes)
Replied: Sep 05, 2019
Votes
Robert Jensen
Robert
 576
Replied 

There are 8 colors available.

"normal","info","warning","error","status_1","status_2","status_3,"status 4"

You can try them out and see the various colors.

 

 

 

 

 

 

 

0 (0 Votes)
Replied: Sep 05, 2019
Votes
Paulius Jucys
Paulius
 4
Replied 
@Robert, can I add new custom colors ?
0 (0 Votes)
Replied: Sep 05, 2019
Votes
Robert Jensen
Robert
 576
Replied 

I'm sorry to say no, you cannot. You are limited to the 8 supplied.

 

0 (0 Votes)
Replied: Sep 06, 2019
Votes
Paulius Jucys
Paulius
 4
Replied 

@Robert

I can use 6 colors

Status_1 Status_2 Status_3 Status_4 error warning

how can I invoke last 2 ? Because u mentioned there are 8 collors supplied

0 (0 Votes)
Replied: Sep 09, 2019
Votes
Robert Jensen
Robert
 576
Replied 

"normal","info","warning","error","status_1","status_2","status_3,"status 4"

However, normal is the default. So you really have 7 colors plus the default.

0 (0 Votes)
Replied: Sep 10, 2019
Forums
All
Forum Help
Help Using Forums