Hi,
use label function for that status column and check if it is one means
return Active
call the label function on status column
see the sample code
public function
date_labelFunc(item:Object,column:BIDataGridColumn):String
{
if(item.data == "1"){
return "Active";
}else
{
return "InActive"
}
}
On May 26, 11:20 pm, Alekhya Krishna <[email protected]>
wrote:
> Hi,
>
> I have a datagrid, I get the data from the database. In my datagrid have the
> columns like
>
> MyDataGrid
>
> Title , Status
>
> Rama 1
> krishna 0
> Venki 1
> yyyy 0
>
> This data i will get the data from the database.
>
> My Question is i want to display the data instead of Status like 0 - --->
> InActive
>
> 1 -------> Active
>
> I want the MyDataGrid result
>
> Title , Status
>
> Rama Active
> krishna Inactive
> Venki Active
> yyyy Inactive
>
> Please help me,
>
> Thanks
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.