hi i tried just that but nothing shows up in my datagrid when i filter
it. what could be the problem? here is my update filter function
public function filterGrid():void{
dataAr.filterFunction=cityFilter;
dataAr.refresh();
//dgrid.selectedIndex = null;
}
public function cityFilter(item:Object):Boolean{
var result:Boolean=false;
if ( (city_cb.selectedLabel == "All" || item.city ==
city_cb.selectedLabel) && (lct_cb.selectedLabel == "All" ||
item.location == lct_cb.selectedLabel) && (item.value >
priceSlider.values[0] && item.value < priceSlider.values[3000000])
){
result=true;
}
return result;
}