stonyx
09-01-2006, 12:08 AM
hi all what i'm trying to do is to call borrarTodo() after 5 items added in my datagrid which is datagrid2 or maybe u have any other ideas
thanx
public function borrarTodo():void
{
_xlcdatagrid2.removeAll();
var numElements:int = _xlcdatagrid2.length;
if (numElements > 5) {
trace (borrarTodo());
}
}
thanx
public function borrarTodo():void
{
_xlcdatagrid2.removeAll();
var numElements:int = _xlcdatagrid2.length;
if (numElements > 5) {
trace (borrarTodo());
}
}