MadDog
Posts: 1
|
Posted: 10/07/2014, 8:49 AM |
|
Hello,
i have a non editable grid which gets data from a datasource. Now i would like to change the values or text before showing them. So i added a event before show to the item {milStatus_state} and creates the following custoemr code:
if ($milStatus_state == "False") {
$Container->$milStatus_state->SetValue("MIL OFF");
else {
$Container->$milStatus_state->SetValue("MIL ON");
}:
}
I think i have something strange here to catch the real data which represents the milStatus_state and set the Text in a proper way.
Any hints welcome
Thanks and best regards
Mathias
|
|
|
saseow
Posts: 744
|
Posted: 10/07/2014, 8:05 PM |
|
Possibly your 'False' is wrong.
Try ($milStatus_state == 0) and see if that works.
|
|
|
|