CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 change value in agrid before show

Print topic Send  topic

Author Message
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
View profile  Send private message
saseow

Posts: 744
Posted: 10/07/2014, 8:05 PM

Possibly your 'False' is wrong.
Try ($milStatus_state == 0) and see if that works.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.