RE: [flexcoders] how to filter our a column in datagrid?

2010-07-01 Thread Scott
You could set the column width to 0...

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of coder3
Sent: Thursday, July 01, 2010 1:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to filter our a column in datagrid?

 

  


Hi

it's a little complicated.

i have a datagrid with student info:

name | class | grade

what i want is, if the row has no class and grade data, i want to remove
this row from the datagrade.

I don't want to change the object in the datagrid dataprovider array,
because the array needs to be used some other places. 

how do i do it?

thanks

C.
-- 
View this message in context:
http://old.nabble.com/how-to-filter-our-a-column-in-datagrid--tp29049075
p29049075.html
Sent from the FlexCoders mailing list archive at Nabble.com.




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner  , and is

believed to be clean. 


Re: [flexcoders] how to filter our a column in datagrid?

2010-07-01 Thread Bill Sahlas
Filtering a copy of the ArrayCollection and set the dataProvider to that 
filtered copy is one way.


On 7/1/10 2:36 PM, "coder3"  wrote:







Hi

it's a little complicated.

i have a datagrid with student info:

name | class | grade

what i want is, if the row has no class and grade data, i want to remove
this row from the datagrade.

I don't want to change the object in the datagrid dataprovider array,
because the array needs to be used some other places.

how do i do it?

thanks

C.

Thanks,
Bill