You could use a switch() in a labelFunction().

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of markflex2007
Sent: Friday, January 18, 2008 2:32 PM
To: [email protected]
Subject: [flexcoders] How to change the text in datagrid ?

 

Hi,

I have a account list like this

accout name status
acc1 1
acc2 0
acc3 1

It is ok binding with datagrid. but I like it showed in datagrid like
this

accout name status
acc1 open
acc2 close
acc3 open

How to change 1 to "open" and 0 to "close" in datagrid.

Thanks

Mark

acc3 1

 

Reply via email to