Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
EvolvedDSM #1
How to use a datagrid's "filters" parameter?
I was looking at all the parameters for a datagrid can came across "filters".
Does anyone know how this is used? I'd really like to shed my filterFunction
for an easier solution to filtering a datagrid.
EvolvedDSM Guest
-
Can't launch Acrobat7 pro "There was an error while loading the plug-in 'Comments'.Bad parameter."
Has anyone found a resolution to this problem? I ran Disk Warrior, and even reinstalled Acrobat 7 and rebooted. Same error message about failure... -
2 errors: "The parameter is incorrect" and "Overlapped I/O operation is in progress."
Hello, I am writing an ASP app which is giving me some very frustrating errors. They appear intermittently, no real pattern to them, and often... -
#24400 [Csd->Opn]: CRLFCRLF in the "header" parameter is being converted to CRLF
ID: 24400 User updated by: vitali_e at mail dot ru Reported By: vitali_e at mail dot ru -Status: Closed +Status: ... -
#24400 [Csd]: CRLFCRLF in the "header" parameter is being converted to CRLF
ID: 24400 Updated by: pollita@php.net Reported By: vitali_e at mail dot ru Status: Closed Bug Type: ... -
#24400 [Com]: CRLFCRLF in the "header" parameter is being converted to CRLF
ID: 24400 Comment by: nagelfar at mail dot ru Reported By: vitali_e at mail dot ru Status: Closed Bug Type: ... -
Craig Grummitt #2
Re: How to use a datagrid's "filters" parameter?
If you click on the filters property you will find quite a detailed description..?
i don't think filters is what you're looking for, however. it refers to graphic filters such as dropshadows etc
Craig Grummitt Guest
-
peterent #3
Re: How to use a datagrid's "filters" parameter?
Craig is correct. The filters proper refers to flash.filters.* classes like
DropShadowFilter. What you are looking for is the filterFunction. Assign to
this property the name of a function which takes a single parameter and returns
a Boolean. The filterFunction will be called on every record in your
dataProvider. If it returns true then the record will be displayed.
mydata.filterFunction = myfilter;
mydata.refresh();
...
<mx:DataGrid dataProvider="{mydata}" ... >
peterent Guest



Reply With Quote

