Table column derivation and if else [message #1802151] |
Sat, 02 February 2019 03:52 |
argaz amazig Messages: 29 Registered: November 2018 |
Junior Member |
|
|
Hi,
When declaring derived attributes in my table it is working
and even when I'm using derived values whith (if else if else) the value computed is correcte but not displayed
What is the problem? :'(
should I use conditional background even if all is defined in the meta-model??????
Thanks in advance
[Updated on: Sun, 03 February 2019 02:13] Report message to a moderator
|
|
|
|
Re: Table column derivation and if else [message #1802218 is a reply to message #1802214] |
Mon, 04 February 2019 13:37 |
argaz amazig Messages: 29 Registered: November 2018 |
Junior Member |
|
|
Hi,
yeah exactly
I declared for a class a derived value in the form:
if else if else endif endif;
that means three cases
in the table of sirius, It displays the correct values but hidden
I have to clic on each cell to see the value
(class test
{
attribute derivedValue: String
{ derivation: if(cond1) then value 1 else (if(cond2) then value 2 else value3) endif) endif;}
}
)
In sirius I just used derivedValue as the table is defined for the class test
[Updated on: Mon, 04 February 2019 13:38] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03811 seconds