No worries,
It looks like your filter function already uses the comboBox's
selectedLabel to compare. You can initiate the filter like this:
private function filterDataGrid():void
{
myArrayCollection.filterFunction = myFilterFunction;
myArrayCollection.refresh();
}
<mx:ComboBox id="city_cb" change="filterDataGrid()"/>
-TH
--- In [email protected], "stinasius" <[EMAIL PROTECTED]> wrote:
>
> hi guys i hope am not being a pain, but how can i use a combo box and
> a slider (two thumbed) to fliter a datagrid? a small code sample will
> do it. thanks.
>