flexexamples is a great site for fully functioning code snippets.

In the example here

http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-items-in-a-datagrid-in-flex/

you'll want to swap out the CheckBox for a HSlider, obviously.  Then
you can call toggleFilter() when the slider changes.  Your
filterFunction will look something like this...

private function processFilter(item:Object):Boolean
{
  return item.value > slider.values[0] && item.value < slider.values[1];
}

I hope this helps.


--- In [email protected], "stinasius" <[EMAIL PROTECTED]> wrote:
>
> hi am fairly new to flex. if you dont mind maybe you could post some
> small example on how to do it. thanks
>


Reply via email to