|
| Flex Data Filtering |
 |
Wed, 14 Jun 2006 09:38:50 +000 |
hello everybody,
im learning flex and i was wondering if it is possible to filter data coming
in xml format to display specific results only.
what im doing:
im connecting to a webservice which returns xml data that i display in a
datagrid using databinding (this works fine).
what im trying to do:
display only certain rows from the data recieved.. for example let say im
getting car information.. i wanna display the only the cars made by a certain
manufacturer that i specify in another xml or through a text box.
|
| Post Reply
|
| Re: Flex Data Filtering |
 |
Wed, 14 Jun 2006 13:57:49 +000 |
I generally do not try to implement something like filtering within the
component. I have external functions that I use for this. These function build
a subset of the data (based on my criteria); I then assign this new dat set as
the data provider for the grid. You can dynamically assign and re-assign your
dataProvider in action script as often as you'd like.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|