Replace the following functions, run the app in debug mode and post the
output:
private function pizzaFilter():void {
trace(pizza_ckb.selected);
if ( == true)
pizzaSelected = pizza_ckb.data;
filterGrid();
pizzaAr.refresh();
}
private function myFilterFunction(item:Object): Boolean
{
trace(item.pizza);
return (item.pizza == pizzaSelected) ;
}
Haykel Ben Jemia
Allmas
Web & RIA Development
http://www.allmas-tn.com
On Tue, Feb 17, 2009 at 7:44 AM, johndoematrix <[email protected]>wrote:
> Hi, Tim i tried your code, but the result is not good too. when then
> check box is checked, all the data in the array collection disappears
> and when its unchecked all data shows up again. what i want to achieve
> is when the pizza_ckb is checked only the entries in the data base
> that have pizza show up and when i uncheck it all entries with or
> without pizza show up. thanks
>
>
>